diff options
| author | 2020-01-25 10:56:43 +0000 | |
|---|---|---|
| committer | 2020-01-25 10:56:43 +0000 | |
| commit | 59096dc898de7696d7a9a2f48b73bfe551a16dc9 (patch) | |
| tree | 363c86e5ff833d12df32f8072a5d72dbb338128c /usr.sbin/bind/lib/isc/unix/file.c | |
| parent | The config parser lets us know when the key file can't be found. (diff) | |
| download | wireguard-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
