Merge r258128 from head:

Fix a very bad typo from r248887.

Approved by:	re (kib)
This commit is contained in:
glebius 2013-11-22 19:27:17 +00:00
parent 2f2c733b13
commit 9dc96d6afc

View File

@ -1196,6 +1196,7 @@ m_split(struct mbuf *m0, int len0, int wait)
remain = m->m_len - len;
if (m0->m_flags & M_PKTHDR && remain == 0) {
n = m_gethdr(wait, m0->m_type);
if (n == NULL)
return (NULL);
n->m_next = m->m_next;
m->m_next = NULL;