commit | 9df59055ed8e2f817149e786b2a52bc17832d84e | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Fri Sep 01 08:18:07 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 01 10:37:14 2017 -0700 |
tree | c70aa33ec7c7f4c84e0d64f15a3a8745f49e6dde | |
parent | c54a5048904b6a492551d1cf0a7c9ae3ca763f4b [diff] |
bpf: Collapse offset checks in sock_filter_is_valid_access Make sock_filter_is_valid_access consistent with other is_valid_access helpers. Requested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>