Daniel Borkmann
0901df3aea
bpf: use prefix_len in test_tag when reading fdinfo
...
We currently used len instead of prefix_len for the strncmp() in
fdinfo on the prog_tag. It still worked as we matched on the correct
output line also with first 8 instead of 10 chars, but lets fix it
properly to use the intended length.
Fixes: 62b6466026 ("bpf: add prog tag test case to bpf selftests")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-25 23:15:28 -05:00
..
accounting
arch
Merge branch 'core/urgent' into x86/fpu, to merge fixes
2016-11-01 07:47:40 +01:00
build
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2016-12-17 16:24:13 -08:00
cgroup
firewire
gpio
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2016-12-17 16:24:13 -08:00
hv
Char/Misc driver patches for 4.10-rc1
2016-12-13 12:11:01 -08:00
iio
tools: iio: iio_generic_buffer: drop unneeded parentheses
2016-10-23 19:34:10 +01:00
include
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-23 16:49:12 -08:00
kvm /kvm_stat
laptop
leds
tools/leds: Add uledmon program for monitoring userspace LEDs
2016-11-22 12:07:02 +01:00
lguest
lib
lib, traceevent: add PRINT_HEX_STR variant
2017-01-25 13:17:47 -05:00
net
nfsd
objtool
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2016-12-17 16:24:13 -08:00
pcmcia
perf
lib, traceevent: add PRINT_HEX_STR variant
2017-01-25 13:17:47 -05:00
power
Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
2016-12-25 14:01:28 -08:00
scripts
spi
spi: spidev_test: Fix input file check when transferring file
2016-11-04 09:56:09 -06:00
testing
bpf: use prefix_len in test_tag when reading fdinfo
2017-01-25 23:15:28 -05:00
thermal /tmon
time
usb
usbip: add missing compile time generated files to .gitignore
2016-12-06 08:37:41 +01:00
virtio
tools/virtio: use {READ,WRITE}_ONCE() in uaccess.h
2016-12-16 00:13:37 +02:00
vm
Makefile
tools/leds: Add uledmon program for monitoring userspace LEDs
2016-11-22 12:07:02 +01:00