1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

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:
Alexander V. Chernikov 2015-10-27 22:11:09 +00:00
parent 199c446625
commit ba99cc0b86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290075

View File

@ -523,8 +523,8 @@ insert:
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;
}