Date: Thu, 25 Dec 2008 02:14:25 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200812250214.mBP2EhN2030680@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kmacy 2008-12-25 02:14:25 UTC FreeBSD src repository Modified files: sys/net if_tun.c Log: SVN rev 186483 on 2008-12-25 02:14:25Z by kmacy - Close a race during which the open flag could be cleared but the tun_softc would still be referenced by adding a separate TUN_CLOSED flag that is set after tunclose is done referencing it. - drop the tun_mtx after the flag check to avoid holding it across if_detach which can recurse in to if_tun.c Revision Changes Path 1.174 +6 -2 src/sys/net/if_tun.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812250214.mBP2EhN2030680>