]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4087d3a7a54d2530f67bdb96c99067aba0b25c8
tree51330d75653ca85574e463c2e40ff60ab95e0774
parent9ffc626da2eb46d0cbded4daead3300b17150ec7
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