Fix an SCTP related locking issue. Don't report that the TCB_SEND_LOCK
is owned, when it is not. This issue was found by running syzkaller. MFC after: 1 week
This commit is contained in:
parent
bd383e74e5
commit
7186df98c8
@ -3995,7 +3995,7 @@ sctp_abort_notification(struct sctp_tcb *stcb, uint8_t from_peer, uint16_t error
|
||||
return;
|
||||
}
|
||||
/* Tell them we lost the asoc */
|
||||
sctp_report_all_outbound(stcb, error, 1, so_locked);
|
||||
sctp_report_all_outbound(stcb, error, 0, so_locked);
|
||||
if (from_peer) {
|
||||
sctp_ulp_notify(SCTP_NOTIFY_ASSOC_REM_ABORTED, stcb, error, abort, so_locked);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user