mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
sctp: don't call sctp_ulp_notify() recursively
This does not work with the new locking scheme.
This commit is contained in:
parent
2139107d2d
commit
78e5017cbe
1 changed files with 2 additions and 2 deletions
|
|
@ -4117,7 +4117,7 @@ sctp_ulp_notify(uint32_t notification, struct sctp_tcb *stcb,
|
|||
sctp_notify_adaptation_layer(stcb, so_locked);
|
||||
}
|
||||
if (stcb->asoc.auth_supported == 0) {
|
||||
sctp_ulp_notify(SCTP_NOTIFY_NO_PEER_AUTH, stcb, 0, NULL, so_locked);
|
||||
sctp_notify_authentication(stcb, SCTP_AUTH_NO_AUTH, 0, so_locked);
|
||||
}
|
||||
break;
|
||||
case SCTP_NOTIFY_ASSOC_DOWN:
|
||||
|
|
@ -4182,7 +4182,7 @@ sctp_ulp_notify(uint32_t notification, struct sctp_tcb *stcb,
|
|||
case SCTP_NOTIFY_ASSOC_RESTART:
|
||||
sctp_notify_assoc_change(SCTP_RESTART, stcb, error, NULL, false, false, so_locked);
|
||||
if (stcb->asoc.auth_supported == 0) {
|
||||
sctp_ulp_notify(SCTP_NOTIFY_NO_PEER_AUTH, stcb, 0, NULL, so_locked);
|
||||
sctp_notify_authentication(stcb, SCTP_AUTH_NO_AUTH, 0, so_locked);
|
||||
}
|
||||
break;
|
||||
case SCTP_NOTIFY_STR_RESET_SEND:
|
||||
|
|
|
|||
Loading…
Reference in a new issue