Use m_cat() to reassembly IPv6 packets.
Submitted by: jonloony_gmail.com MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D3863
This commit is contained in:
parent
baca5b7f5b
commit
4ea35c2935
@ -523,8 +523,8 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
|
||||
frag6_deq(af6);
|
||||
while (t->m_next)
|
||||
t = t->m_next;
|
||||
t->m_next = IP6_REASS_MBUF(af6);
|
||||
m_adj(t->m_next, af6->ip6af_offset);
|
||||
m_adj(IP6_REASS_MBUF(af6), af6->ip6af_offset);
|
||||
m_cat(t, IP6_REASS_MBUF(af6));
|
||||
free(af6, M_FTABLE);
|
||||
af6 = af6dwn;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user