selftests/bpf: Use start_server_str in sockmap_helpers

Now both SOCK_SEQPACKET and SOCK_NONBLOCK can be passed as "type" parameter
into start_server_str(), use this helper in socket_loopback_reuseport() in
sockmap_helpers.h to simplify the code.

Signed-off-by: Geliang Tang <[email protected]>
1 file changed
OSZAR »