diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-09-12 23:38:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-15 19:29:47 -0400 |
commit | f53d8c7b18faf1bd361abe91f3c4bcbb21d0c985 (patch) | |
tree | 45d072e34316e66eca8a7e93c4d9be101347a9c5 /virt | |
parent | bpf: drop unnecessary test in cls_bpf_classify and tcf_bpf (diff) | |
download | linux-dev-f53d8c7b18faf1bd361abe91f3c4bcbb21d0c985.tar.xz linux-dev-f53d8c7b18faf1bd361abe91f3c4bcbb21d0c985.zip |
bpf: use skb_at_tc_ingress helper in tcf_bpf
We have a small skb_at_tc_ingress() helper for testing for ingress, so
make use of it. cls_bpf already uses it and so should act_bpf.
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 'virt')
0 files changed, 0 insertions, 0 deletions