summaryrefslogtreecommitdiff
path: root/samples/pidfd
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2023-12-22 04:59:06 +0300
committerDavid S. Miller <davem@davemloft.net>2024-01-02 16:27:48 +0300
commit72cd9f8d5a9925fb8ccedaf9b42ccf5fc955a716 (patch)
tree262e1a2acdcec23b944bd2defdb3473a71d3611e /samples/pidfd
parenta27359abc820c619c67e91241e75d045decbfdc2 (diff)
downloadlinux-72cd9f8d5a9925fb8ccedaf9b42ccf5fc955a716.tar.xz
selftest/tcp-ao: Set routes in a proper VRF table id
In unsigned-md5 selftests ip_route_add() is not needed in client_add_ip(): the route was pre-setup in __test_init() => link_init() for subnet, rather than a specific ip-address. Currently, __ip_route_add() mistakenly always sets VRF table to RT_TABLE_MAIN - this seems to have sneaked in during unsigned-md5 tests debugging. That also explains, why ip_route_add_vrf() ignored EEXIST, returned by fib6. Yet, keep EEXIST ignoring in bench-lookups selftests as it's expected that those selftests may add the same (duplicate) routes. Reported-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pidfd')
0 files changed, 0 insertions, 0 deletions