diff options
author | Alexei Starovoitov <ast@fb.com> | 2017-03-15 18:26:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:38:55 +0100 |
commit | f55093dccd3ac90f003698fae7ecd75cf2862179 (patch) | |
tree | c32a87fafe23bb96eece9d20da71457dee86cfc2 /include | |
parent | 28035366afe93f7bdb833a7867caccf4b7eda166 (diff) | |
download | linux-stable-f55093dccd3ac90f003698fae7ecd75cf2862179.tar.gz linux-stable-f55093dccd3ac90f003698fae7ecd75cf2862179.tar.bz2 linux-stable-f55093dccd3ac90f003698fae7ecd75cf2862179.zip |
bpf: refactor fixup_bpf_calls()
commit 79741b3bdec01a8628368fbcfccc7d189ed606cb upstream.
reduce indent and make it iterate over instructions similar to
convert_ctx_accesses(). Also convert hard BUG_ON into soft verifier error.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Jiri Slaby <jslaby@suse.cz>
[Backported to 4.9.y - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions