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>
This commit is contained in:
committed by
Jakub Kicinski
parent
5af674bb90
commit
df51b84564
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user