Commit c0a20d6
Xin Long
sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2160516
Tested: compile only
commit 9f0b773
Author: Xin Long <lucien.xin@gmail.com>
Date: Fri Nov 4 17:45:15 2022 -0400
sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
Since commit 5bbbbe3 ("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>
Signed-off-by: Xin Long <lxin@redhat.com>1 parent 9951bfa commit c0a20d6
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
| |||
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | 402 | | |
405 | | - | |
406 | | - | |
| 403 | + | |
| 404 | + | |
407 | 405 | | |
408 | 406 | | |
409 | 407 | | |
| |||
0 commit comments