commit | 5beca081be9195b4316ac5f32921df0234ee8e0e | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Wed Nov 01 23:58:10 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 02 17:01:38 2017 +0900 |
tree | f5c9d311d2725cef382aa6482beb6ea495d07a70 | |
parent | b06723da824af1e979eb1699623881b5f45a783c [diff] |
bpf: also improve pattern matches for meta access Follow-up to 0fd4759c5515 ("bpf: fix pattern matches for direct packet access") to cover also the remaining data_meta/data matches in the verifier. The matches are also refactored a bit to simplify handling of all the cases. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>