net, sched: add skb_at_tc_ingress helper
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 7 Jan 2016 14:50:22 +0000 (15:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2016 22:54:28 +0000 (17:54 -0500)
commitfdc5432a7b44ab7de17141beec19d946b9344e91
tree51330d75653ca85574e463c2e40ff60ab95e0774
parent4156afafcc4c522adfd59c694126edc30247b7ad
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>
include/net/sch_generic.h
net/sched/cls_bpf.c