Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 09:45:34 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258128 - head/sys/kern
Message-ID:  <201311140945.rAE9jYcA050518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311140945.rAE9jYcA050518>