]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
authorXin Long <lucien.xin@gmail.com>
Fri, 4 Nov 2022 21:45:15 +0000 (17:45 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Nov 2022 03:59:01 +0000 (19:59 -0800)
commitf4d5f7c9ddbe405fdff0aba8b4aea854519de36c
tree5e686426c33b2556cf2db38e3512146710e6f385
parent90f1b5425de2449c66a02af13b627ceefb7ec514
sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent

Since commit d5f9a5945926 ("sctp: introduce stream scheduler foundations"),
sctp_stream_outq_migrate() has been called in sctp_stream_init/update to
removes those chunks to streams higher than the new max. There is no longer
need to do such check in sctp_prsctp_prune_unsent().

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sctp/outqueue.c