Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 15:16:59 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r337132 - stable/11/sys/kern
Message-ID:  <201808021516.w72FGxZX057541@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Aug  2 15:16:59 2018
New Revision: 337132
URL: https://svnweb.freebsd.org/changeset/base/337132

Log:
  MFC r336922:
  Remove a redundant check.

Modified:
  stable/11/sys/kern/uipc_sockbuf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/uipc_sockbuf.c
==============================================================================
--- stable/11/sys/kern/uipc_sockbuf.c	Thu Aug  2 12:43:40 2018	(r337131)
+++ stable/11/sys/kern/uipc_sockbuf.c	Thu Aug  2 15:16:59 2018	(r337132)
@@ -897,8 +897,6 @@ sbappendcontrol_locked(struct sockbuf *sb, struct mbuf
 
 	SOCKBUF_LOCK_ASSERT(sb);
 
-	if (control == NULL)
-		panic("sbappendcontrol_locked");
 	space = m_length(control, &n) + m_length(m0, NULL);
 
 	if (space > sbspace(sb))



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