Remove a redundant check.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
164138e7d8
commit
4765717321
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336922
@ -964,8 +964,6 @@ sbappendcontrol_locked(struct sockbuf *sb, struct mbuf *m0,
|
||||
|
||||
SOCKBUF_LOCK_ASSERT(sb);
|
||||
|
||||
if (control == NULL)
|
||||
panic("sbappendcontrol_locked");
|
||||
space = m_length(control, &n) + m_length(m0, NULL);
|
||||
|
||||
if (space > sbspace(sb))
|
||||
|
Loading…
Reference in New Issue
Block a user