net: move sysctl_skb_defer_max to net_hotdata
sysctl_skb_defer_max is used in TCP fast path, move it to net_hodata. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240429134025.1233626-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
a86a0661b8
commit
d480dc76d9
@@ -39,6 +39,7 @@ struct net_hotdata {
|
||||
int dev_tx_weight;
|
||||
int dev_rx_weight;
|
||||
int sysctl_max_skb_frags;
|
||||
int sysctl_skb_defer_max;
|
||||
};
|
||||
|
||||
#define inet_ehash_secret net_hotdata.tcp_protocol.secret
|
||||
|
||||
Reference in New Issue
Block a user