Skip to content

Commit 3ca8e40

Browse files
kraigatgoogdavem330
authored andcommitted
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>
1 parent 538950a commit 3ca8e40

File tree

3 files changed

+469
-1
lines changed

3 files changed

+469
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
socket
22
psock_fanout
33
psock_tpacket
4+
reuseport_bpf

tools/testing/selftests/net/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CFLAGS = -Wall -O2 -g
44

55
CFLAGS += -I../../../../usr/include/
66

7-
NET_PROGS = socket psock_fanout psock_tpacket
7+
NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf
88

99
all: $(NET_PROGS)
1010
%: %.c

0 commit comments

Comments
 (0)