diff options
author | 2015-07-21 14:14:13 +0200 | |
---|---|---|
committer | 2015-07-21 22:19:55 -0700 | |
commit | 6d715e301e950e3314d590bdbabf0c26e4fed94b (patch) | |
tree | 71943addcee05f7947ab107b74467d7637303aab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ARM: net: fix condition for load_order > 0 when translating load instructions. (diff) | |
download | wireguard-linux-6d715e301e950e3314d590bdbabf0c26e4fed94b.tar.xz wireguard-linux-6d715e301e950e3314d590bdbabf0c26e4fed94b.zip |
ARM: net: handle negative offsets in BPF JIT.
Previously, the JIT would reject negative offsets known during code
generation and mishandle negative offsets provided at runtime.
Fix that by calling bpf_internal_load_pointer_neg_helper()
appropriately in the jit_get_skb_{b,h,w} slow path helpers and by forcing
the execution flow to the slow path helpers when the offset is
negative.
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions