From: Denis Kirjanov Date: Mon, 10 Nov 2014 05:59:43 +0000 (+0300) Subject: PPC: bpf_jit_comp: add SKF_AD_HATYPE instruction X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b61c4db49e2530ed10631321d4c73f49d560a93;p=pandora-kernel.git PPC: bpf_jit_comp: add SKF_AD_HATYPE instruction Add BPF extension SKF_AD_HATYPE to ppc JIT to check the hw type of the interface Before: [ 57.723666] test_bpf: #20 LD_HATYPE [ 57.723675] BPF filter opcode 0020 (@0) unsupported [ 57.724168] 48 48 PASS After: [ 103.053184] test_bpf: #20 LD_HATYPE 7 6 PASS CC: Alexei Starovoitov CC: Daniel Borkmann CC: Philippe Bergheaud Signed-off-by: Denis Kirjanov v2: address Alexei's comments Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller --- Reading git-diff-tree failed