]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f8ff9b642d8f98572778aa9a6c3d1ab0248b432
treed6373d9144841d41e2288b5440adc01e4bd2fab9
parent90f1b5425de2449c66a02af13b627ceefb7ec514
parent0936dacbc9535d2190e60da4e7511669219ba841
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>