Home
last modified time | relevance | path

Searched hist:b87a173e25d6bf5c26f13d329cdddf57dbd4061a (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dcls_cgroup.hdiff b87a173e25d6bf5c26f13d329cdddf57dbd4061a Wed Jul 15 07:21:41 CDT 2015 Daniel Borkmann <daniel@iogearbox.net> cls_cgroup: factor out classid retrieval

Split out retrieving the cgroups net_cls classid retrieval into its
own function, so that it can be reused later on from other parts of
the traffic control subsystem. If there's no skb->sk, then the small
helper returns 0 as well, which in cls_cgroup terms means 'could not
classify'.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/sched/
H A Dcls_cgroup.cdiff b87a173e25d6bf5c26f13d329cdddf57dbd4061a Wed Jul 15 07:21:41 CDT 2015 Daniel Borkmann <daniel@iogearbox.net> cls_cgroup: factor out classid retrieval

Split out retrieving the cgroups net_cls classid retrieval into its
own function, so that it can be reused later on from other parts of
the traffic control subsystem. If there's no skb->sk, then the small
helper returns 0 as well, which in cls_cgroup terms means 'could not
classify'.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>