]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: add arp_ndisc_evict_nocarrier
authorJames Prestwood <prestwoj@gmail.com>
Mon, 1 Nov 2021 17:36:30 +0000 (10:36 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Nov 2021 02:57:15 +0000 (19:57 -0700)
commit896b0cb4e75780c3a54bbd9ff0dc371f9a39c9a0
treee51b800c5edc33c5fa13211680581bcc385c10a1
parent9616f125ed8545bb60fe4944e0ec02772727473b
selftests: net: add arp_ndisc_evict_nocarrier

This tests the sysctl options for ARP/ND:

/net/ipv4/conf/<iface>/arp_evict_nocarrier
/net/ipv4/conf/all/arp_evict_nocarrier
/net/ipv6/conf/<iface>/ndisc_evict_nocarrier
/net/ipv6/conf/all/ndisc_evict_nocarrier

Signed-off-by: James Prestwood <prestwoj@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh [new file with mode: 0755]