Daniel Borkmann b87a173e25 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>
2015-07-20 12:41:30 -07:00
..
2015-06-25 05:23:02 -07:00
2015-06-18 21:14:28 +02:00
2015-05-13 15:19:48 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00