mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 15:19:31 -04:00
Don't modify a structure without holding a reference count on it.
MFC after: 3 days
This commit is contained in:
parent
c12dee326f
commit
cf46cace5c
1 changed files with 1 additions and 1 deletions
|
|
@ -6098,9 +6098,9 @@ out:
|
|||
goto stage_left;
|
||||
#endif
|
||||
}
|
||||
atomic_add_int(&stcb->asoc.refcnt, -1);
|
||||
/* Save the value back for next time */
|
||||
stcb->freed_by_sorcv_sincelast = freed_so_far;
|
||||
atomic_add_int(&stcb->asoc.refcnt, -1);
|
||||
}
|
||||
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_RECV_RWND_LOGGING_ENABLE) {
|
||||
if (stcb) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue