Re: dev/random duplicate call to destroy_dev

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 12 Feb 2004 21:43:42 +0100
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.
Received on Thu Feb 12 2004 - 11:43:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC