diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2023-12-02 10:01:10 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-05 13:00:56 +0100 |
commit | 0f4765d0b48d90ede9788c7edb2e072eee20f88e (patch) | |
tree | 7be517d9089ee9138735eea910bbc589dfc4f065 /drivers/net/ipvlan/ipvlan_main.c | |
parent | 90e271f65ee428ae5a75e783f5ba50a10dece09d (diff) | |
download | linux-0f4765d0b48d90ede9788c7edb2e072eee20f88e.tar.gz linux-0f4765d0b48d90ede9788c7edb2e072eee20f88e.tar.bz2 linux-0f4765d0b48d90ede9788c7edb2e072eee20f88e.zip |
selftests/net: convert unicast_extensions.sh to run it in unique namespace
Here is the test result after conversion.
# ./unicast_extensions.sh
/usr/bin/which: no nettest in (/root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
###########################################################################
Unicast address extensions tests (behavior of reserved IPv4 addresses)
###########################################################################
TEST: assign and ping within 240/4 (1 of 2) (is allowed) [ OK ]
TEST: assign and ping within 240/4 (2 of 2) (is allowed) [ OK ]
TEST: assign and ping within 0/8 (1 of 2) (is allowed) [ OK ]
...
TEST: assign and ping class D address (is forbidden) [ OK ]
TEST: routing using class D (is forbidden) [ OK ]
TEST: routing using 127/8 (is forbidden) [ OK ]
Acked-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions