mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
sctp: improve consistency
MFC after: 1 week
This commit is contained in:
parent
e3771cc034
commit
10b2b30670
1 changed files with 1 additions and 1 deletions
|
|
@ -6118,7 +6118,7 @@ get_more_data:
|
|||
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) {
|
||||
sctp_sblog(&so->so_rcv, control->do_not_ref_stcb ? NULL : stcb, SCTP_LOG_SBFREE, (int)cp_len);
|
||||
}
|
||||
SCTP_SB_DECR(&so->so_rcv, (int)cp_len);
|
||||
SCTP_SB_DECR(&so->so_rcv, cp_len);
|
||||
if ((control->do_not_ref_stcb == 0) &&
|
||||
stcb) {
|
||||
atomic_subtract_int(&stcb->asoc.sb_cc, (int)cp_len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue