diff options
author | sam <sam@FreeBSD.org> | 2003-01-06 21:29:27 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-01-06 21:29:27 +0000 |
commit | 8a8e425d5fc1d12adf7d7c15d5e65fa7a84e20d8 (patch) | |
tree | 4038a37b48710349bd55b40bdc67517fb97b610e | |
parent | d73f1fda2f7019d7487dc1f86aa269a5ebf5bad9 (diff) | |
download | FreeBSD-src-8a8e425d5fc1d12adf7d7c15d5e65fa7a84e20d8.zip FreeBSD-src-8a8e425d5fc1d12adf7d7c15d5e65fa7a84e20d8.tar.gz |
purge extraneous clears of M_PKTHDR since M_MOVE_PKTHDR does this already
-rw-r--r-- | sys/netinet6/ip6_output.c | 1 | ||||
-rw-r--r-- | sys/netinet6/ipsec.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 75ed4dc..64b11aa 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -2577,7 +2577,6 @@ ip6_splithdr(m, exthdrs) } M_MOVE_PKTHDR(mh, m); MH_ALIGN(mh, sizeof(*ip6)); - m->m_flags &= ~M_PKTHDR; m->m_len -= sizeof(*ip6); m->m_data += sizeof(*ip6); mh->m_next = m; diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c index 000ab1b..f898c0a 100644 --- a/sys/netinet6/ipsec.c +++ b/sys/netinet6/ipsec.c @@ -3126,7 +3126,6 @@ ipsec4_splithdr(m) } M_MOVE_PKTHDR(mh, m); MH_ALIGN(mh, hlen); - m->m_flags &= ~M_PKTHDR; m->m_len -= hlen; m->m_data += hlen; mh->m_next = m; @@ -3163,7 +3162,6 @@ ipsec6_splithdr(m) } M_MOVE_PKTHDR(mh, m); MH_ALIGN(mh, hlen); - m->m_flags &= ~M_PKTHDR; m->m_len -= hlen; m->m_data += hlen; mh->m_next = m; |