Skip to content

Commit

Permalink
Remove check already done by caller
Browse files Browse the repository at this point in the history
  • Loading branch information
tuexen committed Aug 5, 2023
1 parent 87baaa7 commit c439c87
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions usrsctplib/netinet/sctputil.c
Original file line number Diff line number Diff line change
Expand Up @@ -3795,9 +3795,6 @@ sctp_notify_partial_delivery_indication(struct sctp_tcb *stcb, uint32_t error,
/* event not enabled */
return;
}
if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_CANT_READ) {
return;
}

m_notify = sctp_get_mbuf_for_msg(sizeof(struct sctp_pdapi_event), 0, M_NOWAIT, 1, MT_DATA);
if (m_notify == NULL)
Expand Down

0 comments on commit c439c87

Please sign in to comment.