]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
seg6: add per-route tunnel source address
authorJustin Iurman <justin.iurman@6wind.com>
Tue, 24 Mar 2026 09:14:33 +0000 (10:14 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Mar 2026 01:45:29 +0000 (18:45 -0700)
commit78723a62b969af404fde2468bb9782519d5f8ba7
treebab596b34eb454d82fb3155fe55b76ba4e0d9846
parented8edcd47529d9ad6558ca2c00dccf21fc0abc08
seg6: add per-route tunnel source address

Add SEG6_IPTUNNEL_SRC in the uapi for users to configure a specific
tunnel source address. Make seg6_iptunnel handle the new attribute
correctly. It has priority over the configured per-netns tunnel
source address, if any.

Cc: David Ahern <dsahern@kernel.org>
Signed-off-by: Justin Iurman <justin.iurman@6wind.com>
Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Link: https://patch.msgid.link/20260324091434.359341-2-justin.iurman@6wind.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/seg6_iptunnel.h
net/ipv6/seg6_iptunnel.c