diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-07-30 12:42:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-30 11:13:21 -0700 |
commit | 485d6511e71e5810f07eec29b884c98021e67911 (patch) | |
tree | 3ef671f211e2e4d85946ca5ef8fff3fffce6847e /include/linux/filter.h | |
parent | 7b36f92934e40d1ee24e5617ddedb852e10086ca (diff) | |
download | linux-stable-485d6511e71e5810f07eec29b884c98021e67911.tar.gz linux-stable-485d6511e71e5810f07eec29b884c98021e67911.tar.bz2 linux-stable-485d6511e71e5810f07eec29b884c98021e67911.zip |
bpf, x86/sparc: show actual number of passes in bpf_jit_dump
When bpf_jit_compile() got split into two functions via commit
f3c2af7ba17a ("net: filter: x86: split bpf_jit_compile()"), bpf_jit_dump()
was changed to always show 0 as number of compiler passes. Change it to
dump the actual number. Also on sparc, we count passes starting from 0,
so add 1 for the debug dump as well.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/filter.h')
0 files changed, 0 insertions, 0 deletions