summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndrea Mayer <andrea.mayer@uniroma2.it>2023-04-27 11:49:23 +0200
committerDavid S. Miller <davem@davemloft.net>2023-04-28 09:51:40 +0100
commit46ef24c60f8ee70662968ac55325297ed4624d61 (patch)
tree4a19dd32fd6ba3e3b98bef5d6890e104332b6155 /net
parentc88f8d5cd95fd039cff95d682b8e71100c001df0 (diff)
downloadlinux-46ef24c60f8ee70662968ac55325297ed4624d61.tar.gz
linux-46ef24c60f8ee70662968ac55325297ed4624d61.tar.bz2
linux-46ef24c60f8ee70662968ac55325297ed4624d61.zip
selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
On some distributions, the rp_filter is automatically set (=1) by default on a netdev basis (also on VRFs). In an SRv6 End.DT46 behavior, decapsulated IPv4 packets are routed using the table associated with the VRF bound to that tunnel. During lookup operations, the rp_filter can lead to packet loss when activated on the VRF. Therefore, we chose to make this selftest more robust by explicitly disabling the rp_filter during tests (as it is automatically set by some Linux distributions). Fixes: 03a0b567a03d ("selftests: seg6: add selftest for SRv6 End.DT46 Behavior") Reported-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it> Tested-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions