purge extraneous clears of M_PKTHDR since M_MOVE_PKTHDR does this already

This commit is contained in:
Sam Leffler 2003-01-06 21:29:27 +00:00
parent 45a0c8fe56
commit 0e7dea8326
2 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -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;