Commit a5cb752
mptcp: use mptcp_schedule_work instead of open-coding it
Beyond reducing code duplication this also avoids scheduling
the mptcp_worker on a closed socket on some edge scenarios.
The addressed issue is actually older than the blamed commit
below, but this fix needs it as a pre-requisite.
Fixes: ba8f48f ("mptcp: introduce mptcp_schedule_work")
Cc: [email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 5b7be2d commit a5cb752
2 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1192 | 1192 | | |
1193 | 1193 | | |
1194 | 1194 | | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
| 1195 | + | |
| 1196 | + | |
1198 | 1197 | | |
1199 | 1198 | | |
1200 | 1199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
| 411 | + | |
| 412 | + | |
414 | 413 | | |
415 | 414 | | |
416 | 415 | | |
| |||
1118 | 1117 | | |
1119 | 1118 | | |
1120 | 1119 | | |
1121 | | - | |
1122 | | - | |
| 1120 | + | |
| 1121 | + | |
1123 | 1122 | | |
1124 | 1123 | | |
1125 | 1124 | | |
| |||
1222 | 1221 | | |
1223 | 1222 | | |
1224 | 1223 | | |
1225 | | - | |
1226 | | - | |
1227 | 1224 | | |
1228 | 1225 | | |
1229 | 1226 | | |
1230 | 1227 | | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
| 1228 | + | |
| 1229 | + | |
1236 | 1230 | | |
1237 | 1231 | | |
1238 | 1232 | | |
| |||
0 commit comments