]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bc848386d9076615f6c69c4718be250fd2b3f1b
treec3cf3d3cd580a1e759b2914cb79bf6ebcb28eb3f
parent4e2e95b2b7de799a2276cdba9882e4525346be63
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]