diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2022-08-31 19:56:53 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-31 19:56:54 -0700 |
| commit | a3daac631e4824a68a5449f60dd86b90bb7be91a (patch) | |
| tree | 639b61f605e41a495d774f43c4e3062296bd3836 /include | |
| parent | 52267ce25f60f37ae40ccbca0b21328ebae5ae75 (diff) | |
| parent | 79e3602caa6f9d59c4f66a268407080496dae408 (diff) | |
Merge branch 'tcp-tcp-challenge-ack-fixes'
Eric Dumazet says:
====================
tcp: tcp challenge ack fixes
syzbot found a typical data-race addressed in the first patch.
While we are at it, second patch makes the global rate limit
per net-ns and disabled by default.
====================
Link: https://lore.kernel.org/r/20220830185656.268523-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/netns/ipv4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index c7320ef356d9..6320a76cefdc 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -179,6 +179,8 @@ struct netns_ipv4 { unsigned int sysctl_tcp_fastopen_blackhole_timeout; atomic_t tfo_active_disable_times; unsigned long tfo_active_disable_stamp; + u32 tcp_challenge_timestamp; + u32 tcp_challenge_count; int sysctl_udp_wmem_min; int sysctl_udp_rmem_min; |
