summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-09 19:15:02 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-09 19:15:02 +0000
commit1f7764946723012de19eb889f2920466d5c5a3c4 (patch)
tree89c3bfee89c70ea005dadc81b91443ea827d2671 /usr.bin
parentf0097bf6033fc96eefe0e8a341ce045e51ec6cb4 (diff)
Use a mutex to serialize accesses to buffer slots.
With this change bpf_catchpacket() no longer need the KERNEL_LOCK(). Tested by Hrvoje Popovski who reported a recursion in the previous attempt. ok bluhm@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions