Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 21:43:42 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Subject:   Re: dev/random duplicate call to destroy_dev 
Message-ID:  <28391.1076618622@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 12 Feb 2004 20:32:52 GMT." <Pine.BSF.4.53.0402122023480.69801@e0-0.zab2.int.zabbadoz.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28391.1076618622>