]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ip_tunnel: Use ip_tunnel_info() helper instead of 'info + 1'
authorGal Pressman <gal@nvidia.com>
Wed, 19 Feb 2025 14:32:55 +0000 (16:32 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Feb 2025 21:17:16 +0000 (13:17 -0800)
commitba3fa6e8c1eb4e40719451710263c87fb5f22221
tree1b0d90a1c7a2b3c2a707aa71868ff1c85c20509b
parent5d6ba5ab8582aa35c1ee98e47af28e6f6772596c
ip_tunnel: Use ip_tunnel_info() helper instead of 'info + 1'

Tunnel options should not be accessed directly, use the ip_tunnel_info()
accessor instead.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://patch.msgid.link/20250219143256.370277-2-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ip_tunnels.h
net/sched/act_tunnel_key.c