Check if ``bd_bif'' is NULL inside bpf_catchpacket() to match bpfread()
authormpi <mpi@openbsd.org>
Mon, 15 Aug 2016 07:12:11 +0000 (07:12 +0000)
committermpi <mpi@openbsd.org>
Mon, 15 Aug 2016 07:12:11 +0000 (07:12 +0000)
commitf24d7115a2dadecca59e6327e62adb825b38abca
tree4e7d150393b3a7f346b7a3169276fe143f45784d
parent3b031cbc236a6634926f7217fe802a81348e67de
Check if ``bd_bif'' is NULL inside bpf_catchpacket() to match bpfread()
and bpfwrite(), all of which will need to grabe a lock to protect the
buffers.

ok dlg@
sys/net/bpf.c