[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zl_OWcrrEipnN_VP@Laptop-X1>
Date: Wed, 5 Jun 2024 10:32:57 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: wujianguo <wujianguo@...natelecom.cn>
Cc: netdev@...r.kernel.org, kuba@...nel.org, edumazet@...gle.com,
contact@...elbtn.com, pablo@...filter.org, dsahern@...nel.org,
pabeni@...hat.com, wujianguo106@....com
Subject: Re: [PATCH net v2 2/3] selftests: add selftest for the SRv6 End.DX4
behavior with netfilter
Hi,
On Tue, Jun 04, 2024 at 10:49:48PM +0800, wujianguo wrote:
> From: Jianguo Wu <wujianguo@...natelecom.cn>
>
> this selftest is designed for evaluating the SRv6 End.DX4 behavior
> used with netfilter(rpfilter), in this example, for implementing
> IPv4 L3 VPN use cases.
>
> Signed-off-by: Jianguo Wu <wujianguo@...natelecom.cn>
When run your test via vng, I got
sysctl: cannot stat /proc/sys/net/netfilter/nf_hooks_lwtunnel: No such file or directory
Warning: Extension rpfilter revision 0 not supported, missing kernel module?
iptables v1.8.9 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain PREROUTING
Looks we are missing some config in selftest net/config.
> ---
> tools/testing/selftests/net/Makefile | 1 +
> .../selftests/net/srv6_end_dx4_netfilter_test.sh | 335 +++++++++++++++++++++
> 2 files changed, 336 insertions(+)
> create mode 100644 tools/testing/selftests/net/srv6_end_dx4_netfilter_test.sh
The file mode is 644. Although kselftest install will fix the mode.
It would be good if you can set it to 755 directly.
Thanks
Hangbin
Powered by blists - more mailing lists