mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
sctp: fix a locking issue for old unordered data
Thanks to Anatoly Korniltsev for reporting the issue for the userland stack. MFC after: 3 days
This commit is contained in:
parent
151ec796a2
commit
8dc6a1edca
1 changed files with 1 additions and 1 deletions
|
|
@ -803,7 +803,7 @@ restart:
|
|||
}
|
||||
memset(nc, 0, sizeof(struct sctp_queued_to_read));
|
||||
TAILQ_REMOVE(&control->reasm, chk, sctp_next);
|
||||
sctp_add_chk_to_control(control, strm, stcb, asoc, chk, SCTP_READ_LOCK_NOT_HELD);
|
||||
sctp_add_chk_to_control(control, strm, stcb, asoc, chk, inp_read_lock_held);
|
||||
fsn++;
|
||||
cnt_added++;
|
||||
chk = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue