Thread (4 messages) 4 messages, 2 authors, 2022-11-08
STALE1347d LANDED

[PATCH net 0/2] sctp: fix a NULL pointer dereference in sctp_sched_dequeue_common

From: Xin Long <lucien.xin@gmail.com>
Date: 2022-11-04 21:45:23
Also in: linux-sctp

This issue was triggered with SCTP_PR_SCTP_PRIO in sctp,
and caused by not checking and fixing stream->out_curr
after removing a chunk from this stream.

Patch 1 removes an unnecessary check and makes the real
fix easier to add in Patch 2.

Xin Long (2):
  sctp: remove the unnecessary sinfo_stream check in
    sctp_prsctp_prune_unsent
  sctp: clear out_curr if all frag chunks of current msg are pruned

 net/sctp/outqueue.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help