diff options
| author | Yi Chen <[email protected]> | 2025-07-24 08:06:53 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2025-07-25 16:41:04 +0000 |
| commit | 8b4a1a46e84a17f5d6fde5c506cc6bb141a24772 (patch) | |
| tree | 153527d44b11639063a46ce746f64304f3d7ff3c /drivers/platform/x86/intel/pmt/class.c | |
| parent | selftests: netfilter: Ignore tainted kernels in interface stress test (diff) | |
| download | kernel-8b4a1a46e84a17f5d6fde5c506cc6bb141a24772.tar.gz kernel-8b4a1a46e84a17f5d6fde5c506cc6bb141a24772.zip | |
selftests: netfilter: ipvs.sh: Explicity disable rp_filter on interface tunl0
Although setup_ns() set net.ipv4.conf.default.rp_filter=0,
loading certain module such as ipip will automatically create a tunl0 interface
in all netns including new created ones. In the script, this is before than
default.rp_filter=0 applied, as a result tunl0.rp_filter remains set to 1
which causes the test report FAIL when ipip module is preloaded.
Before fix:
Testing DR mode...
Testing NAT mode...
Testing Tunnel mode...
ipvs.sh: FAIL
After fix:
Testing DR mode...
Testing NAT mode...
Testing Tunnel mode...
ipvs.sh: PASS
Fixes: 7c8b89ec506e ("selftests: netfilter: remove rp_filter configuration")
Signed-off-by: Yi Chen <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
