diff options
author | archie <archie@FreeBSD.org> | 1999-11-17 17:41:22 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1999-11-17 17:41:22 +0000 |
commit | 925919a689552abf2b8006fb17627e2da4008226 (patch) | |
tree | d43f1041adae599d883e1657c1adf7d87571c936 /sys/netgraph/ng_vjc.c | |
parent | 2ad7906e167d39a37a9b424d795fdc71406125b6 (diff) | |
download | FreeBSD-src-925919a689552abf2b8006fb17627e2da4008226.zip FreeBSD-src-925919a689552abf2b8006fb17627e2da4008226.tar.gz |
When allocating a new PKTHDR mbuf, always set m->m_pkthdr.rcvif = NULL.
Diffstat (limited to 'sys/netgraph/ng_vjc.c')
-rw-r--r-- | sys/netgraph/ng_vjc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/ng_vjc.c b/sys/netgraph/ng_vjc.c index cae3d15..874a5bf 100644 --- a/sys/netgraph/ng_vjc.c +++ b/sys/netgraph/ng_vjc.c @@ -338,6 +338,7 @@ ng_vjc_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) return (ENOBUFS); } hm->m_len = 0; + hm->m_pkthdr.rcvif = NULL; if (hlen > MHLEN) { /* unlikely, but can happen */ MCLGET(hm, M_DONTWAIT); if ((hm->m_flags & M_EXT) == 0) { |