Merge branch 'sctp-fix-a-null-pointer-dereference-in-sctp_sched_dequeue_common'
authorJakub Kicinski <kuba@kernel.org>
Tue, 8 Nov 2022 03:59:05 +0000 (19:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Nov 2022 03:59:29 +0000 (19:59 -0800)
commit89bbe785b4d196cc3d00056adc58da8484a824a1
treed6373d9144841d41e2288b5440adc01e4bd2fab9
parent1c075b192fe41030457cd4a5f7dea730412bca40
parent2f201ae14ae0f91dbf1cffea7bb1e29e81d4d108
Merge branch 'sctp-fix-a-null-pointer-dereference-in-sctp_sched_dequeue_common'

Xin Long says:

====================
sctp: fix a NULL pointer dereference in sctp_sched_dequeue_common

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.
====================

Link: https://lore.kernel.org/r/cover.1667598261.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>