From: Eric Dumazet Date: Sun, 18 Mar 2012 02:40:48 +0000 (+0000) Subject: net: bpf_jit: fix BPF_S_LDX_B_MSH compilation X-Git-Tag: v3.4-rc1~177^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc72d99dabb870ca5bd6d9fff674be853bb4a88d;p=pandora-kernel.git 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 Reported-by: Indan Zupancic Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed