Commit ee2708a
mptcp: use get_retrans wrapper
This patch adds the multiple subflows support for __mptcp_retrans(). Use
get_retrans() wrapper instead of mptcp_subflow_get_retrans() in it.
Check the subflow scheduled flags to test which subflow or subflows are
picked by the scheduler, use them to send data.
Move msk_owned_by_me() and fallback checks into get_retrans() wrapper
from mptcp_subflow_get_retrans().
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20230821-upstream-net-next-20230818-v1-9-0c860fb256a8@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 0fa1b37 commit ee2708a
2 files changed
+43
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2233 | 2233 | | |
2234 | 2234 | | |
2235 | 2235 | | |
2236 | | - | |
2237 | | - | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
2241 | 2236 | | |
2242 | 2237 | | |
2243 | 2238 | | |
| |||
2515 | 2510 | | |
2516 | 2511 | | |
2517 | 2512 | | |
| 2513 | + | |
2518 | 2514 | | |
2519 | 2515 | | |
2520 | | - | |
2521 | 2516 | | |
2522 | | - | |
| 2517 | + | |
| 2518 | + | |
2523 | 2519 | | |
2524 | 2520 | | |
2525 | 2521 | | |
2526 | 2522 | | |
2527 | | - | |
| 2523 | + | |
2528 | 2524 | | |
2529 | 2525 | | |
2530 | 2526 | | |
| |||
2543 | 2539 | | |
2544 | 2540 | | |
2545 | 2541 | | |
2546 | | - | |
| 2542 | + | |
2547 | 2543 | | |
2548 | 2544 | | |
2549 | | - | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
2550 | 2548 | | |
2551 | | - | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
2557 | | - | |
| 2549 | + | |
2558 | 2550 | | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | | - | |
2566 | | - | |
2567 | | - | |
2568 | | - | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
2569 | 2577 | | |
2570 | 2578 | | |
2571 | | - | |
| 2579 | + | |
| 2580 | + | |
2572 | 2581 | | |
2573 | 2582 | | |
2574 | 2583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
0 commit comments