summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-09-25 13:46:44 +0000
committermpi <mpi@openbsd.org>2018-09-25 13:46:44 +0000
commit126b881f7106e87cadecac4b4ad6f06b70f71973 (patch)
tree7032cb17f59b24215e4c766db0de131c1ac7ab7e /lib
parentdisklabel(8) uses hw.physmem to calculate swap and /var sizes. This (diff)
downloadwireguard-openbsd-126b881f7106e87cadecac4b4ad6f06b70f71973.tar.xz
wireguard-openbsd-126b881f7106e87cadecac4b4ad6f06b70f71973.zip
Insert a workaround for per-ifp ioctl being called w/o NET_LOCK().
An example of such code path is vlan_destroy() where we don't want to grab the lock because this driver is already NET_LOCK()-free. The real solution to this problem is to stop holding the NET_LOCK() around driver *_ioctl() routines. Problem reported & fix tested by Élie Bouttier, ok visa@, bluhm@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions