diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-12-04 23:19:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-05 15:33:10 -0500 |
commit | 1afaf661b20a075a22eef3332db187001a334b81 (patch) | |
tree | 828e82ba4e9a2600b083dd632cfaa0d7979b970f /net/sched | |
parent | 70f23a807dcab4ee3467c70ba2c7be69026f0a67 (diff) | |
download | linux-1afaf661b20a075a22eef3332db187001a334b81.tar.bz2 |
bpf: remove type arg from __is_valid_{,xdp_}access
Commit d691f9e8d440 ("bpf: allow programs to write to certain skb
fields") pushed access type check outside of __is_valid_access()
to have different restrictions for socket filters and tc programs.
type is thus not used anymore within __is_valid_access() and should
be removed as a function argument. Same for __is_valid_xdp_access()
introduced by 6a773a15a1e8 ("bpf: add XDP prog type for early driver
filter").
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions