Satisfy assertion in m_demote().

Sponsored by:	Nginx, Inc.
This commit is contained in:
Gleb Smirnoff 2014-09-04 19:28:02 +00:00
parent 7ee2d05890
commit 770aa6cb25
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271123

View File

@ -231,6 +231,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m)
tp->t_segq = m;
if (mq && th->th_seq + *tlenp == M_TCPHDR(mq)->th_seq) {
m->m_nextpkt = mq->m_nextpkt;
mq->m_nextpkt = NULL;
m_catpkt(m, mq);
} else
m->m_nextpkt = mq;