dev/random duplicate call to destroy_dev
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Feb 12 12:43:48 PST 2004
In message <Pine.BSF.4.53.0402122023480.69801 at 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 at 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.
More information about the freebsd-current
mailing list