]> 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)
commite102736317c7e66e21a4c76fd70613a91094bac9
treec3cf3d3cd580a1e759b2914cb79bf6ebcb28eb3f
parent7bdde44992ff9fab2eb1f0429f8766b2cde4c1ad
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]