Commit 3635e1c
committed
DO-NOT-MERGE: mptcp: improve code coverage for CI
tcp: warn if tcp_done() is called on a closed socket
This is an extra check mainly for the CIs: to make sure we don't call
tcp_done() on an already closed socket as it happened in the past. If
we do such call, better to catch the error earlier.
mptcp: warn in case of bogus mpc option on established client sk
As discussed on [1], an additional check is done to catch local
software bug.
This patch is supposed to land only in our tree, for both 'export' and
'export-net' branches, because the warning could be triggered by
bugged / malicious peer. We want it in our tree for our CI to detect
internal bugs.
Link: https://lore.kernel.org/all/20240215-mptcp-fix-bogus-pr-warn-v1-1-d14c10312820@kernel.org/ [1]
net: debug patch for WARNING in skb_try_coalesce
Patch from Paolo Abeni.
See ticket 572 on GH.
Signed-off-by: Matthieu Baerts <matttbe@kernel.org>1 parent 0e587ca commit 3635e1c
5 files changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6194 | 6194 | | |
6195 | 6195 | | |
6196 | 6196 | | |
6197 | | - | |
| 6197 | + | |
| 6198 | + | |
| 6199 | + | |
| 6200 | + | |
6198 | 6201 | | |
6199 | 6202 | | |
6200 | 6203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5092 | 5092 | | |
5093 | 5093 | | |
5094 | 5094 | | |
| 5095 | + | |
| 5096 | + | |
5095 | 5097 | | |
5096 | 5098 | | |
5097 | 5099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
| 1002 | + | |
| 1003 | + | |
1003 | 1004 | | |
1004 | 1005 | | |
1005 | 1006 | | |
| |||
0 commit comments