Files
linux/tools/testing/selftests
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
..
2016-12-13 07:26:37 -07:00
2015-09-22 15:09:53 -07:00
2015-11-03 16:54:57 -07:00
2016-01-07 13:38:11 -07:00
2015-03-13 15:21:56 -06:00
2015-05-26 15:58:08 -06:00