]> 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)
commitcbbea59c151d0c19035ddcdc3259b45c2ed67117
treee51b800c5edc33c5fa13211680581bcc385c10a1
parent4b983f6ae54d50f7e0b430f530ba7d786c81caf3
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]