soreuseport: BPF selection functional test
authorCraig Gallek <kraig@google.com>
Mon, 4 Jan 2016 22:41:48 +0000 (17:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 03:49:59 +0000 (22:49 -0500)
commit3ca8e4029969d40ab90e3f1ecd83ab1cadd60fbb
treec3cf3d3cd580a1e759b2914cb79bf6ebcb28eb3f
parent538950a1b7527a0a52ccd9337e3fcd304f027f13
soreuseport: BPF selection functional test

This program will build classic and extended BPF programs and
validate the socket selection logic when used with
SO_ATTACH_REUSEPORT_CBPF and SO_ATTACH_REUSEPORT_EBPF.

It also validates the re-programing flow and several edge cases.

Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/.gitignore
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/reuseport_bpf.c [new file with mode: 0644]