diff options
author | Peter Oskolkov <posk@google.com> | 2018-12-12 13:15:37 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-14 15:55:20 -0800 |
commit | 6254e5c6a8d7c19e51e671e2648de2db06f8d504 (patch) | |
tree | a8a236c1acd98c05cdab07f9f6fd1f911975ea1f /tools/testing/selftests/net/fib_rule_tests.sh | |
parent | net: tcp6: prefer listeners bound to an address (diff) | |
download | linux-dev-6254e5c6a8d7c19e51e671e2648de2db06f8d504.tar.xz linux-dev-6254e5c6a8d7c19e51e671e2648de2db06f8d504.zip |
selftests: net: test that listening sockets match on address properly
This patch adds a selftest that verifies that a socket listening
on a specific address is chosen in preference over sockets
that listen on any address. The test covers UDP/UDP6/TCP/TCP6.
It is based on, and similar to, reuseport_dualstack.c selftest.
Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/fib_rule_tests.sh')
0 files changed, 0 insertions, 0 deletions