selftests: net: tcp_mmap should create detached threads
authorEric Dumazet <edumazet@google.com>
Thu, 14 Nov 2019 16:43:27 +0000 (08:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 20:46:08 +0000 (12:46 -0800)
commit20021578ba226bda1f0ddf50e4d4a12ea1c6c6c1
tree8397080c251b6cfb8efe38343a4d48f3ba88f7d5
parent61ca533c0e94104c35fcb7858a23ec9a05d78143
selftests: net: tcp_mmap should create detached threads

Since we do not plan using pthread_join() in the server do_accept()
loop, we better create detached threads, or risk increasing memory
footprint over time.

Fixes: 192dc405f308 ("selftests: net: add tcp_mmap program")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tcp_mmap.c