diff options
author | Denis Kirjanov <[email protected]> | 2014-11-10 08:59:43 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-11-11 13:39:47 -0500 |
commit | 5b61c4db49e2530ed10631321d4c73f49d560a93 (patch) | |
tree | 1dbc2c4c557a54aa81a161f65b8bffb61ed5bfd6 /net/ipv4/tcp_timer.c | |
parent | 4083c8056deebc01e658d6a2ba060cca4e733fb8 (diff) |
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<[email protected]>
CC: Daniel Borkmann<[email protected]>
CC: Philippe Bergheaud<[email protected]>
Signed-off-by: Denis Kirjanov <[email protected]>
v2: address Alexei's comments
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions