svn commit: r337132 - stable/11/sys/kern

Mark Johnston markj at FreeBSD.org
Thu Aug 2 15:17:00 UTC 2018


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))


More information about the svn-src-stable-11 mailing list