aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 6ad51bfd21e8..2bec4654bfd7 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -2369,6 +2369,7 @@ bpf_mtap2(struct bpf_if *bp, void *data, u_int dlen, struct mbuf *m)
* Note that we cut corners here; we only setup what's
* absolutely needed--this mbuf should never go anywhere else.
*/
+ mb.m_flags = 0;
mb.m_next = m;
mb.m_data = data;
mb.m_len = dlen;