Commit bbd49d1
mptcp: consolidate transition to TCP_CLOSE in mptcp_do_fastclose()
The MPTCP code always set the msk state to TCP_CLOSE before
calling performing the fast-close. Move such state transition in
mptcp_do_fastclose() to avoid some code duplication.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 00079f1 commit bbd49d1
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2655 | 2655 | | |
2656 | 2656 | | |
2657 | 2657 | | |
| 2658 | + | |
2658 | 2659 | | |
2659 | 2660 | | |
2660 | 2661 | | |
| |||
2692 | 2693 | | |
2693 | 2694 | | |
2694 | 2695 | | |
2695 | | - | |
2696 | | - | |
| 2696 | + | |
2697 | 2697 | | |
2698 | | - | |
| 2698 | + | |
2699 | 2699 | | |
2700 | 2700 | | |
2701 | 2701 | | |
| |||
2938 | 2938 | | |
2939 | 2939 | | |
2940 | 2940 | | |
2941 | | - | |
2942 | 2941 | | |
2943 | 2942 | | |
2944 | 2943 | | |
| |||
2980 | 2979 | | |
2981 | 2980 | | |
2982 | 2981 | | |
2983 | | - | |
2984 | 2982 | | |
2985 | 2983 | | |
2986 | 2984 | | |
| |||
0 commit comments