Star64_linux/tools
Magnus Karlsson 6bf21b54a5 libbpf: fix to reject unknown flags in xsk_socket__create()
In xsk_socket__create(), the libbpf_flags field was not checked for
setting currently unused/unknown flags. This patch fixes that by
returning -EINVAL if the user has set any flag that is not in use at
this point in time.

Fixes: 1cad078842 ("libbpf: add support for using AF_XDP sockets")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Reviewed-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-03-12 21:58:18 +01:00
..
accounting
arch
bpf tools: libbpf: add a correctly named define for map iteration 2019-03-01 00:53:45 +01:00
build
cgroup
crypto
firewire
firmware
gpio
hv
iio
include bpf: sync bpf.h to tools and update bpf_helpers.h 2019-03-02 10:48:27 -08:00
kvm/kvm_stat
laptop
leds
lib libbpf: fix to reject unknown flags in xsk_socket__create() 2019-03-12 21:58:18 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf tools: libbpf: add a correctly named define for map iteration 2019-03-01 00:53:45 +01:00
power
scripts
spi
testing selftests/bpf: fix segfault of test_progs when prog loading failed 2019-03-12 21:55:54 +01:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile