diff options
author | Nicolas Schichan <nschichan@freebox.fr> | 2015-07-21 14:14:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 22:19:55 -0700 |
commit | 6d715e301e950e3314d590bdbabf0c26e4fed94b (patch) | |
tree | 71943addcee05f7947ab107b74467d7637303aab /arch/m32r | |
parent | 7aed35cb65348fc8b9ce0c2394ff675e5fc750da (diff) | |
download | linux-6d715e301e950e3314d590bdbabf0c26e4fed94b.tar.bz2 |
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 'arch/m32r')
0 files changed, 0 insertions, 0 deletions