On 10/25/21 10:45 AM, James Prestwood wrote:
This tests the sysctl options for ARP/ND:
/net/ipv4/conf/<iface>/arp_evict_nocarrier
/net/ipv6/conf/<iface>/ndisc_evict_nocarrier
Signed-off-by: James Prestwood <redacted>
---
.../net/arp_ndisc_evict_nocarrier.sh | 181 ++++++++++++++++++
1 file changed, 181 insertions(+)
create mode 100755 tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh
Thanks for adding the selftests.
The tests should include a set with the 'all' setting as well -- off and
on works as expected. If you have to do another version, you can add it
then. If this version gets committed, please send a followup patch with
those tests.
Reviewed-by: David Ahern <dsahern@kernel.org>