diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-27 11:52:22 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-27 11:52:22 +0000 |
commit | 6ef91356af7e4a963b3c24cf9c32c8f89ba2bef8 (patch) | |
tree | e52145682884e0edd6477f8dd5ac37297c7a85cd /sys | |
parent | 6f78de20ef4de8a56880dfec3fa6a1d772ab16a2 (diff) |
Reset pkthdr on old mbuf head.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ether.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_ether.c b/sys/netinet/ip_ether.c index 5bb2cfad8ae..33ebb1422b4 100644 --- a/sys/netinet/ip_ether.c +++ b/sys/netinet/ip_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ether.c,v 1.26 2001/04/06 04:42:08 csapuntz Exp $ */ +/* $OpenBSD: ip_ether.c,v 1.27 2001/05/27 11:52:21 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (kermit@adk.gr) @@ -357,6 +357,8 @@ etherip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, m0->m_next = m; m0->m_len = hlen; m0->m_pkthdr.len += hlen; + m_tag_init(m); + m->m_flags &= ~M_PKTHDR; m = m0; /* Statistics */ |