sctp: cleanup
MFC after: 3 days
This commit is contained in:
parent
5fbf11f703
commit
bbf3bf3211
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user