This patch adds SO_DETACH_REUSEPORT_BPF to detach BPF prog from reuseport sk. Martin KaFai Lau (2): bpf: net: Add SO_DETACH_REUSEPORT_BPF bpf: Add test for SO_REUSEPORT_DETACH_BPF arch/alpha/include/uapi/asm/socket.h | 2 + arch/mips/include/uapi/asm/socket.h | 2 + arch/parisc/include/uapi/asm/socket.h | 2 + arch/sparc/include/uapi/asm/socket.h | 2 + include/net/sock_reuseport.h | 2 + include/uapi/asm-generic/socket.h | 2 + net/core/sock.c | 4 ++ net/core/sock_reuseport.c | 24 +++++++++ tools/testing/selftests/bpf/Makefile | 1 + .../selftests/bpf/test_select_reuseport.c | 50 +++++++++++++++++++ 10 files changed, 91 insertions(+) -- 2.17.1