Skip to content

Commit

Permalink
Revert "We've found a recurring problem where some userland process w…
Browse files Browse the repository at this point in the history
…ould be"

This reverts commit 7bc7c2f.
  • Loading branch information
dcui committed Mar 7, 2017
1 parent b3ab344 commit 9b214a0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sys/kern/uipc_sockbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,11 +1043,6 @@ sbcut_internal(struct sockbuf *sb, int len)
{
struct mbuf *m, *next, *mfree;

KASSERT(len > 0, ("%s: len is %d but it is supposed to be +ve",
__func__, len));
KASSERT(len <= sb->sb_ccc, ("%s: len: %d is > ccc: %u",
__func__, len, sb->sb_ccc));

next = (m = sb->sb_mb) ? m->m_nextpkt : 0;
mfree = NULL;

Expand Down

0 comments on commit 9b214a0

Please sign in to comment.