All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] sctp: fix a NULL pointer dereference in sctp_sched_dequeue_common
@ 2022-11-04 21:45 Xin Long
  2022-11-04 21:45 ` [PATCH net 1/2] sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent Xin Long
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xin Long @ 2022-11-04 21:45 UTC (permalink / raw)
  To: network dev, linux-sctp
  Cc: davem, kuba, Eric Dumazet, Paolo Abeni, Marcelo Ricardo Leitner,
	Neil Horman, chenzhen126, caowangbao

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-08  4:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 21:45 [PATCH net 0/2] sctp: fix a NULL pointer dereference in sctp_sched_dequeue_common Xin Long
2022-11-04 21:45 ` [PATCH net 1/2] sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent Xin Long
2022-11-04 21:45 ` [PATCH net 2/2] sctp: clear out_curr if all frag chunks of current msg are pruned Xin Long
2022-11-08  4:10 ` [PATCH net 0/2] sctp: fix a NULL pointer dereference in sctp_sched_dequeue_common patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.