summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/file.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-01-25 10:56:43 +0000
committerdlg <dlg@openbsd.org>2020-01-25 10:56:43 +0000
commit59096dc898de7696d7a9a2f48b73bfe551a16dc9 (patch)
tree363c86e5ff833d12df32f8072a5d72dbb338128c /usr.sbin/bind/lib/isc/unix/file.c
parentThe config parser lets us know when the key file can't be found. (diff)
downloadwireguard-openbsd-59096dc898de7696d7a9a2f48b73bfe551a16dc9.tar.xz
wireguard-openbsd-59096dc898de7696d7a9a2f48b73bfe551a16dc9.zip
move the SMR_LIST_REMOVE and smr_barrier up in tun_clone_destroy.
without this the tun_softc is still available on the list for the syscalls to get to, even though the device is dead and should no longer be referenced. by leaving it in the list after the refcnt_finalize, it was still be found and was used. found by claudio@ jmatthew@ agrees with the change
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/file.c')
0 files changed, 0 insertions, 0 deletions