Skip to content

Commit

Permalink
Do not clear sb_cc when the write side is shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tuexen committed Aug 5, 2023
1 parent 622139e commit 87baaa7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion usrsctplib/netinet/sctp_usrreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,6 @@ sctp_flush(struct socket *so, int how)
KASSERT(!SOLISTENING(so),
("sctp_flush: called on listening socket %p", so));
#endif
SCTP_SB_CLEAR(so->so_snd);
SOCK_UNLOCK(so);
}
return (0);
Expand Down

0 comments on commit 87baaa7

Please sign in to comment.