Author: glebius
Date: Thu Nov 14 09:45:33 2013
New Revision: 258128
URL: http://svnweb.freebsd.org/changeset/base/258128
Log:
Fix a very bad typo from r248887.
Submitted by: art
Modified:
head/sys/kern/uipc_mbuf.c
Modified: head/sys/kern/uipc_mbuf.c
==============================================================================
--- head/sys/kern/uipc_mbuf.c Thu Nov 14 09:33:54 2013 (r258127)
+++ head/sys/kern/uipc_mbuf.c Thu Nov 14 09:45:33 2013 (r258128)
@@ -1196,6 +1196,7 @@ m_split(struct mbuf *m0, int len0, int w
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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"