commit | 72b603ee8cfc6be587f301568d79ce38e7ed735d | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@plumgrid.com> | Mon Aug 25 12:27:02 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 25 17:33:56 2014 -0700 |
tree | 0e02d3f1fe59b146dcaf2c2c3ef62b424485af72 | |
parent | 9785820e6dba63a26a3640b3faebcfec6ca286cc [diff] |
bpf: x86: add missing 'shift by register' instructions to x64 eBPF JIT 'shift by register' operations are supported by eBPF interpreter, but were accidently left out of x64 JIT compiler. Fix it and add a testcase. Reported-by: Brendan Gregg <brendan.d.gregg@gmail.com> Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Fixes: 622582786c9e ("net: filter: x86: internal BPF JIT") Signed-off-by: David S. Miller <davem@davemloft.net>