summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-03-18 02:40:48 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-19 17:41:44 -0400
commitdc72d99dabb870ca5bd6d9fff674be853bb4a88d (patch)
tree20fbc871a5f19e4e243425d78c5a2e50cbb66912 /drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
parent3af79302b400e05b45e377993a8870869500466b (diff)
net: bpf_jit: fix BPF_S_LDX_B_MSH compilation
Matt Evans spotted that x86 bpf_jit was incorrectly handling negative constant offsets in BPF_S_LDX_B_MSH instruction. We need to abort JIT compilation like we do in common_load so that filter uses the interpreter code and can call __load_pointer() Reference: http://lists.openwall.net/netdev/2011/07/19/11 Thanks to Indan Zupancic to bring back this issue. Reported-by: Matt Evans <matt@ozlabs.org> Reported-by: Indan Zupancic <indan@nul.nu> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c')
0 files changed, 0 insertions, 0 deletions