- M_ZERO already sets bif_dlist to zero; there is no need to
do it again.
This commit is contained in:
parent
9fd727b77f
commit
adfbc8c55a
@ -1216,7 +1216,6 @@ bpfattach(ifp, dlt, hdrlen)
|
||||
if (bp == 0)
|
||||
panic("bpfattach");
|
||||
|
||||
bp->bif_dlist = 0;
|
||||
bp->bif_ifp = ifp;
|
||||
bp->bif_dlt = dlt;
|
||||
mtx_init(&bp->bif_mtx, "bpf interface lock", MTX_DEF);
|
||||
|
Loading…
x
Reference in New Issue
Block a user