summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-09-07 07:58:44 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-10 18:35:34 -0700
commit3cd52b7c0bbfbcd90f5a0fb9284e722852e04899 (patch)
tree4a880678e1acae87f81f5eec07e8c7d45c786fe7 /include
parente3434672b7ad38cfd58006d4361966e61b508f5e (diff)
downloadlinux-next-3cd52b7c0bbfbcd90f5a0fb9284e722852e04899.tar.gz
linux-next-3cd52b7c0bbfbcd90f5a0fb9284e722852e04899.zip
sit: dynamically allocate struct ip_tunnel_parm_kern
In preparation for converting SIT configuration parameters to RCU, dynamically allocate struct ip_tunnel_parm_kern as sit_parms in struct ip_tunnel. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com> Link: https://patch.msgid.link/20260907075846.2913645-8-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/ip_tunnels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index 7fff59bab53b..f464c4480eda 100644
--- a/include/net/ip_tunnels.h
+++ b/include/net/ip_tunnels.h
@@ -190,6 +190,7 @@ struct ip_tunnel {
#endif
struct ip_tunnel_prl_entry __rcu *prl; /* potential router list */
unsigned int prl_count; /* # of entries in PRL */
+ struct ip_tunnel_parm_kern *sit_parms;
unsigned int ip_tnl_net_id;
struct gro_cells gro_cells;
__u32 fwmark;