Date: Mon, 30 Jul 2018 17:58:41 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336922 - head/sys/kern Message-ID: <201807301758.w6UHwfmu087555@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Jul 30 17:58:41 2018 New Revision: 336922 URL: https://svnweb.freebsd.org/changeset/base/336922 Log: Remove a redundant check. MFC after: 3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/uipc_sockbuf.c Modified: head/sys/kern/uipc_sockbuf.c ============================================================================== --- head/sys/kern/uipc_sockbuf.c Mon Jul 30 17:54:18 2018 (r336921) +++ head/sys/kern/uipc_sockbuf.c Mon Jul 30 17:58:41 2018 (r336922) @@ -964,8 +964,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?201807301758.w6UHwfmu087555>