Files
linux/tools/testing/selftests/net/reuseport_addr_any.sh
T
Peter Oskolkov 6254e5c6a8 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2018-12-14 15:55:20 -08:00

5 lines
81 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
./in_netns.sh ./reuseport_addr_any