Commit fff0c87
mptcp: decouple mptcp fastclose from tcp close
With the current fastclose implementation, the mptcp_do_fastclose()
helper is in charge of two distinct actions: send the fastclose reset
and cleanup the subflows.
Formally decouple the two steps, ensuring that mptcp explicitly closes
all the subflows after the mentioned helper.
This will make the upcoming fix simpler, and allows dropping the 2nd
argument from mptcp_destroy_common(). The Fixes tag is then the same as
in the next commit to help with the backports.
Fixes: d21f834 ("mptcp: use fastclose on more edge scenarios")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Geliang Tang <geliang@kernel.org>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251118-net-mptcp-misc-fixes-6-18-rc6-v1-5-806d3781c95f@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 1bba3f2 commit fff0c87
2 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2808 | 2808 | | |
2809 | 2809 | | |
2810 | 2810 | | |
| 2811 | + | |
| 2812 | + | |
2811 | 2813 | | |
| 2814 | + | |
| 2815 | + | |
2812 | 2816 | | |
2813 | 2817 | | |
2814 | 2818 | | |
| |||
3233 | 3237 | | |
3234 | 3238 | | |
3235 | 3239 | | |
3236 | | - | |
| 3240 | + | |
| 3241 | + | |
3237 | 3242 | | |
3238 | 3243 | | |
3239 | 3244 | | |
| |||
3412 | 3417 | | |
3413 | 3418 | | |
3414 | 3419 | | |
3415 | | - | |
| 3420 | + | |
3416 | 3421 | | |
3417 | 3422 | | |
3418 | 3423 | | |
| |||
3421 | 3426 | | |
3422 | 3427 | | |
3423 | 3428 | | |
3424 | | - | |
| 3429 | + | |
3425 | 3430 | | |
3426 | 3431 | | |
3427 | 3432 | | |
| |||
3439 | 3444 | | |
3440 | 3445 | | |
3441 | 3446 | | |
3442 | | - | |
| 3447 | + | |
3443 | 3448 | | |
3444 | 3449 | | |
3445 | 3450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
| 980 | + | |
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
| |||
0 commit comments