aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/forwarding
diff options
context:
space:
mode:
authorPeter Oskolkov <posk@google.com>2018-12-12 13:15:37 -0800
committerDavid S. Miller <davem@davemloft.net>2018-12-14 15:55:20 -0800
commit6254e5c6a8d7c19e51e671e2648de2db06f8d504 (patch)
treea8a236c1acd98c05cdab07f9f6fd1f911975ea1f /tools/testing/selftests/net/forwarding
parentnet: tcp6: prefer listeners bound to an address (diff)
downloadlinux-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/forwarding')
0 files changed, 0 insertions, 0 deletions