Fix a very bad typo from r248887.

Submitted by:	art
This commit is contained in:
Gleb Smirnoff 2013-11-14 09:45:33 +00:00
parent 6fcfd7ab4e
commit 77badb18cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258128

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;