This commit adds a test to check if we can fully utilize 4-tuples for connect() when all ephemeral ports are exhausted. The test program changes the local port range to use only one port and binds two sockets with or without SO_REUSEADDR and SO_REUSEPORT, and with the same EUID or with different EUIDs, then do listen(). We should be able to bind only one socket having both SO_REUSEADDR and SO_REUSEPORT per EUID, which restriction is to prevent unintentional listen(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
26 lines
366 B
Plaintext
26 lines
366 B
Plaintext
msg_zerocopy
|
|
socket
|
|
psock_fanout
|
|
psock_snd
|
|
psock_tpacket
|
|
reuseport_addr_any
|
|
reuseport_bpf
|
|
reuseport_bpf_cpu
|
|
reuseport_bpf_numa
|
|
reuseport_dualstack
|
|
reuseaddr_conflict
|
|
tcp_mmap
|
|
udpgso
|
|
udpgso_bench_rx
|
|
udpgso_bench_tx
|
|
tcp_inq
|
|
tls
|
|
txring_overwrite
|
|
ip_defrag
|
|
ipv6_flowlabel
|
|
ipv6_flowlabel_mgr
|
|
so_txtime
|
|
tcp_fastopen_backup_key
|
|
nettest
|
|
fin_ack_lat
|
|
reuseaddr_ports_exhausted |