summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-12-25 02:14:25 +0000
committerkmacy <kmacy@FreeBSD.org>2008-12-25 02:14:25 +0000
commit66a23f10425760e82aefcb68a73f65b712c984a8 (patch)
tree50a7c0ee3772e15959803308056dcf8dc4c18a4f /usr.sbin/arp/arp.c
parent36efa471ac6aff2e0085cdb31ea71ad43438883f (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud