Martin KaFai Lau
99f3a064bc
bpf: net: Add SO_DETACH_REUSEPORT_BPF
...
There is SO_ATTACH_REUSEPORT_[CE]BPF but there is no DETACH.
This patch adds SO_DETACH_REUSEPORT_BPF sockopt. The same
sockopt can be used to undo both SO_ATTACH_REUSEPORT_[CE]BPF.
reseport_detach_prog() is added and it is mostly a mirror
of the existing reuseport_attach_prog(). The differences are,
it does not call reuseport_alloc() and returns -ENOENT when
there is no old prog.
Cc: Craig Gallek <[email protected] >
Signed-off-by: Martin KaFai Lau <[email protected] >
Reviewed-by: Stanislav Fomichev <[email protected] >
Signed-off-by: Daniel Borkmann <[email protected] >
2019-06-15 01:21:19 +02:00
..
alpha
bpf: net: Add SO_DETACH_REUSEPORT_BPF
2019-06-15 01:21:19 +02:00
arc
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
arm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-05-31 21:21:18 -07:00
arm64
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-05-31 10:49:43 -07:00
c6x
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36
2019-05-24 17:27:11 +02:00
csky
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
h8300
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
hexagon
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
ia64
ia64: fix build errors by exporting paddr_to_nid()
2019-05-28 09:17:03 -07:00
m68k
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 74
2019-05-24 17:36:47 +02:00
microblaze
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
mips
bpf: net: Add SO_DETACH_REUSEPORT_BPF
2019-06-15 01:21:19 +02:00
nds32
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
nios2
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13
2019-05-21 11:28:45 +02:00
openrisc
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
parisc
bpf: net: Add SO_DETACH_REUSEPORT_BPF
2019-06-15 01:21:19 +02:00
powerpc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-05-31 21:21:18 -07:00
riscv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-05-31 21:21:18 -07:00
s390
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-05-31 21:21:18 -07:00
sh
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
sparc
bpf: net: Add SO_DETACH_REUSEPORT_BPF
2019-06-15 01:21:19 +02:00
um
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
unicore32
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2019-05-19 10:23:24 -07:00
x86
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-05-31 21:21:18 -07:00
xtensa
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
.gitignore
Kconfig
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2019-05-16 11:00:20 -07:00