]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf86ca07eb5310a1bdc7032458c7f76862f5a1552
treee51b800c5edc33c5fa13211680581bcc385c10a1
parent18ac597af25e9760b76471524096f5b29eb820e6
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]