diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0220-net-sched-add-skb_at_tc_ingress-helper.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0220-net-sched-add-skb_at_tc_ingress-helper.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0220-net-sched-add-skb_at_tc_ingress-helper.patch b/target/linux/brcm2708/patches-4.4/0220-net-sched-add-skb_at_tc_ingress-helper.patch deleted file mode 100644 index bd88fa58ac..0000000000 --- a/target/linux/brcm2708/patches-4.4/0220-net-sched-add-skb_at_tc_ingress-helper.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 21d7bc4d1c4680d8c1e8f14b314c3f232db3b6aa Mon Sep 17 00:00:00 2001 -From: Daniel Borkmann <daniel@iogearbox.net> -Date: Thu, 7 Jan 2016 15:50:22 +0100 -Subject: [PATCH] net, sched: add skb_at_tc_ingress helper - -Add a skb_at_tc_ingress() as this will be needed elsewhere as well and -can hide the ugly ifdef. - -Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> -Acked-by: Alexei Starovoitov <ast@kernel.org> -Signed-off-by: David S. Miller <davem@davemloft.net> ---- - net/sched/cls_bpf.c | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - ---- a/net/sched/cls_bpf.c -+++ b/net/sched/cls_bpf.c -@@ -79,12 +79,8 @@ static int cls_bpf_classify(struct sk_bu - struct tcf_result *res) - { - struct cls_bpf_head *head = rcu_dereference_bh(tp->root); -+ bool at_ingress = skb_at_tc_ingress(skb); - struct cls_bpf_prog *prog; --#ifdef CONFIG_NET_CLS_ACT -- bool at_ingress = G_TC_AT(skb->tc_verd) & AT_INGRESS; --#else -- bool at_ingress = false; --#endif - int ret = -1; - - if (unlikely(!skb_mac_header_was_set(skb))) |