soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF
Craig Gallek authored
Expose socket options for setting a classic or extended BPF program
for use when selecting sockets in an SO_REUSEPORT group.  These options
can be used on the first socket to belong to a group before bind or
on any socket in the group after bind.

This change includes refactoring of the existing sk_filter code to
allow reuse of the existing BPF filter validation checks.
Signed-off-by: default avatarCraig Gallek <kraig@google.com>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
538950a1
Name Last commit Last update
..
acpi Merge branch 'acpi-pci'
asm-generic treewide: Remove old email address
clocksource ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource
crypto Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
drm drm/nouveau: Fix pre-nv50 pageflip events (v4)
dt-bindings Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
keys KEYS: Merge the type-specific data with the payload data
kvm KVM: arm/arm64: arch_timer: Preserve physical dist. active state on LR.active
linux soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF
math-emu math-emu: fix floating-point to integer overflow detection
media [media] v4l2: add support for SDR transmitter
memory ddr: add LPDDR2 data from JESD209-2
misc cxl: Allow the kernel to trust that an image won't change on PERST.
net soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF
pcmcia pcmcia/ds.h: introduce helper for pcmcia_driver module boilerplate
ras tracing: add trace event for memory-failure
rdma IB/mad: Require CM send method for everything except ClassPortInfo
rxrpc RxRPC: Handle VERSION Rx protocol packets
scsi Merge branch 'mkp-fixes' into fixes
soc Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
sound ALSA: hda - Fix playback noise with 24/32 bit sample size on BXT
target target: Fix race for SCF_COMPARE_AND_WRITE_POST checking
trace net: IPv6 fib lookup tracepoint
uapi soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF
video gpu: ipu-v3: drop unused dmfc field from client platform data
xen xen: Add RING_COPY_REQUEST()
Kbuild UAPI: remove empty Kbuild files