summaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorAndrea Mayer <andrea.mayer@uniroma2.it>2026-04-18 19:28:38 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-23 06:32:38 +0300
commitade67d5f588832c7ba131aadd4215a94ce0a15c8 (patch)
tree2249c3ccafc010a4ab35da31ea36c68e39ad26d6 /scripts/basic/Makefile
parent7c9b012d6367a335f1e91da28401a7c612305a46 (diff)
downloadlinux-ade67d5f588832c7ba131aadd4215a94ce0a15c8.tar.xz
seg6: fix seg6 lwtunnel output redirect for L2 reduced encap mode
When SEG6_IPTUN_MODE_L2ENCAP_RED (L2ENCAP_RED) was introduced, the condition in seg6_build_state() that excludes L2 encap modes from setting LWTUNNEL_STATE_OUTPUT_REDIRECT was not updated to account for the new mode. As a consequence, L2ENCAP_RED routes incorrectly trigger seg6_output() on the output path, where the packet is silently dropped because skb_mac_header_was_set() fails on L3 packets. Extend the check to also exclude L2ENCAP_RED, consistent with L2ENCAP. Fixes: 13f0296be8ec ("seg6: add support for SRv6 H.L2Encaps.Red behavior") Cc: stable@vger.kernel.org Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it> Reviewed-by: Justin Iurman <justin.iurman@gmail.com> Link: https://patch.msgid.link/20260418162838.31979-1-andrea.mayer@uniroma2.it Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions