[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aIHPggRqH461rzSL@fedora>
Date: Thu, 24 Jul 2025 06:15:30 +0000
From: Hangbin Liu <liuhangbin@...il.com>
To: Yi Chen <yiche@...hat.com>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
pablo@...filter.org, kadlec@...filter.org, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
shuah@...nel.org, horms@...nel.org, coreteam@...filter.org,
fw@...len.de
Subject: Re: [PATCH] selftests: netfilter: ipvs.sh: Explicity disable
rp_filter on interface tunl0
Hi Chen Yi,
For the subject, please specify the target repo. e.g.
[PATCH net] or [PATCH netfilter]
On Thu, Jul 24, 2025 at 10:43:39AM +0800, Yi Chen wrote:
> 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, this in script 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: ("7c8b89ec5 selftests: netfilter: remove rp_filter configuration")
Should be
Fixes: 7c8b89ec506e ("selftests: netfilter: remove rp_filter configuration")
Thanks
Hangbin
Powered by blists - more mailing lists