sctp: cleanup

MFC after:	3 days
This commit is contained in:
Michael Tuexen 2022-04-16 21:03:16 +02:00
parent 5fbf11f703
commit bbf3bf3211

View File

@ -4838,7 +4838,7 @@ sctp_wakeup_the_read_socket(struct sctp_inpcb *inp,
{
if ((inp != NULL) &&
(inp->sctp_socket != NULL) &&
(((stcb->sctp_ep->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) == 0) ||
(((inp->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) == 0) ||
!SCTP_IS_LISTENING(inp))) {
sctp_sorwakeup(inp, inp->sctp_socket);
}