Commit 0ff8c8b
committed
tcp: add a drop_reason pointer to tcp_check_req()
JIRA: https://issues.redhat.com/browse/RHEL-88891
Upstream Status: linux.git
commit e34100c
Author: Eric Dumazet <edumazet@google.com>
Date: Sat Mar 1 20:14:19 2025 +0000
tcp: add a drop_reason pointer to tcp_check_req()
We want to add new drop reasons for packets dropped in 3WHS in the
following patches.
tcp_rcv_state_process() has to set reason to TCP_FASTOPEN,
because tcp_check_req() will conditionally overwrite the drop_reason.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250301201424.2046477-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Antoine Tenart <atenart@redhat.com>1 parent c8a75a5 commit 0ff8c8b
File tree
5 files changed
+9
-7
lines changed- include/net
- net
- ipv4
- ipv6
5 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6812 | 6812 | | |
6813 | 6813 | | |
6814 | 6814 | | |
6815 | | - | |
6816 | | - | |
| 6815 | + | |
| 6816 | + | |
6817 | 6817 | | |
6818 | | - | |
6819 | 6818 | | |
6820 | 6819 | | |
6821 | 6820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2268 | 2268 | | |
2269 | 2269 | | |
2270 | 2270 | | |
2271 | | - | |
| 2271 | + | |
| 2272 | + | |
2272 | 2273 | | |
2273 | 2274 | | |
2274 | 2275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
| 654 | + | |
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1829 | 1829 | | |
1830 | 1830 | | |
1831 | 1831 | | |
1832 | | - | |
| 1832 | + | |
| 1833 | + | |
1833 | 1834 | | |
1834 | 1835 | | |
1835 | 1836 | | |
| |||
0 commit comments