Skip to content
Commit fbbc5bc2 authored by Julien Massonneau's avatar Julien Massonneau Committed by David S. Miller
Browse files

seg6: ignore routing header with segments left equal to 0



When there are 2 segments routing header, after an End.B6 action
for example, the second SRH will never be handled by an action, packet will
be dropped when the first SRH has segments left equal to 0.
For actions that doesn't perform decapsulation (currently: End, End.X,
End.T, End.B6, End.B6.Encaps), this patch adds the IP6_FH_F_SKIP_RH flag
in arguments for ipv6_find_hdr().

Signed-off-by: default avatarJulien Massonneau <julien.massonneau@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ee90c6ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment