purge extraneous clears of M_PKTHDR since M_MOVE_PKTHDR does this already
This commit is contained in:
parent
99797f96b2
commit
6edebadbd8
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user