CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2017/07/03 02:11:21

Modified files:
        sys/net        : pf.c 

Log message:
Drop the KERNEL_LOCK() in pf_purge_thread().

The NET_LOCK() is currently what guarantees that accesses to PF data
structures are serialized.

While here use rwsleep(9) instead of calling NET_LOCK()/NET_UNLOCK()
for every iteration.

Tested by Hrvoje Popovski, ok sashan@, visa@

Reply via email to