summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-find-window.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-04-12 06:59:54 +0000
committerdlg <dlg@openbsd.org>2020-04-12 06:59:54 +0000
commit422f84d95df9c53dcc980c3d0201aedeba0879a8 (patch)
tree6500a72d477ed21e41b23a3f034b7b1c5ea105e6 /usr.bin/tmux/cmd-find-window.c
parenttake NET_LOCK in tpmr_clone_destroy() before calling tpmr_p_dtor() (diff)
downloadwireguard-openbsd-422f84d95df9c53dcc980c3d0201aedeba0879a8.tar.xz
wireguard-openbsd-422f84d95df9c53dcc980c3d0201aedeba0879a8.zip
take NET_LOCK in aggr_clone_destroy() before calling aggr_p_dtor()
aggr_p_dtor() calls ifpromisc(), and ifpromisc() callers need to be holding NET_LOCK to make changes to if_flags and if_pcount, and before calling the interfaces ioctl to apply the flag change. i found this while reading code with my eyes, and was able to trigger the NET_ASSERT_LOCKED in the vlan_ioctl path. ok visa@
Diffstat (limited to 'usr.bin/tmux/cmd-find-window.c')
0 files changed, 0 insertions, 0 deletions