diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-03-06 16:00:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-07 21:12:43 -0800 |
| commit | df51b84564159cdd91a67ee0f9e30b42b3a73cef (patch) | |
| tree | 14d8de05a58c1b997bc3815bfb7c3aac0f1cb8d0 /include/net/hotdata.h | |
| parent | ipv6: move inet6_ehash_secret and udp6_ehash_secret into net_hotdata (diff) | |
| download | linux-df51b84564159cdd91a67ee0f9e30b42b3a73cef.tar.gz linux-df51b84564159cdd91a67ee0f9e30b42b3a73cef.zip | |
ipv6: move tcp_ipv6_hash_secret and udp_ipv6_hash_secret to net_hotdata
Use a 32bit hole in "struct net_offload" to store
the remaining 32bit secrets used by TCPv6 and UDPv6.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240306160031.874438-17-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/hotdata.h')
| -rw-r--r-- | include/net/hotdata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/hotdata.h b/include/net/hotdata.h index 6d5cd967183a..b0b847585f7e 100644 --- a/include/net/hotdata.h +++ b/include/net/hotdata.h @@ -39,7 +39,9 @@ struct net_hotdata { #define inet_ehash_secret net_hotdata.tcp_protocol.secret #define udp_ehash_secret net_hotdata.udp_protocol.secret #define inet6_ehash_secret net_hotdata.tcpv6_protocol.secret +#define tcp_ipv6_hash_secret net_hotdata.tcpv6_offload.secret #define udp6_ehash_secret net_hotdata.udpv6_protocol.secret +#define udp_ipv6_hash_secret net_hotdata.udpv6_offload.secret extern struct net_hotdata net_hotdata; |
