selftest: add a reuseaddr test
authorJosef Bacik <jbacik@fb.com>
Tue, 19 Sep 2017 13:51:26 +0000 (09:51 -0400)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 19 Sep 2017 20:09:26 +0000 (14:09 -0600)
commit422d8dc6fd3afecd66bd6acfcd73a2d53e338ff3
tree2a331b6131daaf43fdfced5725e25f2a40555a1c
parentfbcab13d2e2511a858590846ac2e2d7cbd830591
selftest: add a reuseaddr test

This is to test for a regression introduced by

b9470c27607b ("inet: kill smallest_size and smallest_port")

which introduced a problem with reuseaddr and bind conflicts.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/net/.gitignore
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/reuseaddr_conflict.c [new file with mode: 0644]