CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2017/03/17 11:19:17
Modified files: sys/kern : uipc_socket.c uipc_socket2.c sys/sys : systm.h sys/uvm : uvm_vnode.c sys/net : if.c if_pflow.c pf.c pf_ioctl.c pf_norm.c pfvar.h Log message: Revert the NET_LOCK() and bring back pf's contention lock for release. For the moment the NET_LOCK() is always taken by threads running under KERNEL_LOCK(). That means it doesn't buy us anything except a possible deadlock that we did not spot. So make sure this doesn't happen, we'll have plenty of time in the next release cycle to stress test it. ok visa@