Comment 1 for bug 1968310

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: arp_ndisc_evict_nocarrier.sh in net from ubuntu_kernel_selftests failed on J-oem-5.17

This is a test case issue caused by the cleanup code in the script.

cleanup_v6()
{
    ip netns del me
    ip netns del peer

    sysctl -w net.ipv4.conf.veth0.ndisc_evict_nocarrier=1 >/dev/null 2>&1
    sysctl -w net.ipv4.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1
}

This sysctl command is actually failing with:
sysctl: cannot stat /proc/sys/net/ipv4/conf/veth0/ndisc_evict_nocarrier: No such file or directory

And thus return 255.