Re: dev/random duplicate call to destroy_dev

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 02/12/04

  • Next message: Poul-Henning Kamp: "Re: Parallel port printing on 5.1"
    To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
    Date: Thu, 12 Feb 2004 21:43:42 +0100
    
    

    In message <Pine.BSF.4.53.0402122023480.69801@e0-0.zab2.int.zabbadoz.net>, "Bjo
    ern A. Zeeb" writes:
    >Hi,
    >
    >when unloading random module destry_dev also gets called for dev_t
    >aquired with make_dev_alias which is wrong according to make_dev(9).
    >
    >Seems this has been living in there for 3y7m now ...
    >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/random/randomdev.c.diff?r1=1.3&r2=1.4
    >
    >possible yet untested fix:

    Correctly diagnosed, thanks!

    Poul-Henning

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Poul-Henning Kamp: "Re: Parallel port printing on 5.1"

    Relevant Pages