diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-12-25 02:14:25 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-12-25 02:14:25 +0000 |
commit | 66a23f10425760e82aefcb68a73f65b712c984a8 (patch) | |
tree | 50a7c0ee3772e15959803308056dcf8dc4c18a4f /usr.sbin/arp/arp.c | |
parent | 36efa471ac6aff2e0085cdb31ea71ad43438883f (diff) | |
download | FreeBSD-src-66a23f10425760e82aefcb68a73f65b712c984a8.zip FreeBSD-src-66a23f10425760e82aefcb68a73f65b712c984a8.tar.gz |
- 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
Diffstat (limited to 'usr.sbin/arp/arp.c')
0 files changed, 0 insertions, 0 deletions