bpf: Add test for SO_REUSEPORT_DETACH_BPF
authorMartin KaFai Lau <kafai@fb.com>
Thu, 13 Jun 2019 22:00:05 +0000 (15:00 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 14 Jun 2019 23:21:50 +0000 (01:21 +0200)
commitd30bd78ce8ba1f093aa4877ed06601d0debd872b
tree204d0fa791e52e71c977611ea0904bc719b7944d
parent13a748ea6df1fee13fdcbd9d10a3d70f9e188b48
bpf: Add test for SO_REUSEPORT_DETACH_BPF

This patch adds a test for the new sockopt SO_REUSEPORT_DETACH_BPF.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_select_reuseport.c