commit | f53d8c7b18faf1bd361abe91f3c4bcbb21d0c985 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Mon Sep 12 23:38:43 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 15 19:29:47 2016 -0400 |
tree | 45d072e34316e66eca8a7e93c4d9be101347a9c5 | |
parent | 04b3f8de4b6d90758938a40303c0ee9a86bcb8ab [diff] |
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>