diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-06-02 09:45:33 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-06-02 09:45:33 +0000 |
commit | ebac5532c77bbf8844af14d0f7714d47d4d02308 (patch) | |
tree | d8e15b1154b46858988f4443a7db95be35d95306 /sys | |
parent | 624c025cafa77c0512336f49d57bf6c1fb9ad027 (diff) |
Initialize pkthdr.rcvif.
ok claudio@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index a6ca06473d4..a20212d2ea3 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.83 2007/05/28 19:20:14 tedu Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.84 2007/06/02 09:45:32 art Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -190,6 +190,7 @@ m_gethdr(int nowait, int type) m->m_nextpkt = (struct mbuf *)NULL; m->m_data = m->m_pktdat; m->m_flags = M_PKTHDR; + m->m_pkthdr.rcvif = NULL; SLIST_INIT(&m->m_pkthdr.tags); m->m_pkthdr.csum_flags = 0; m->m_pkthdr.pf.hdr = NULL; |