summaryrefslogtreecommitdiff
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-07-15 15:21:41 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-20 22:41:30 +0300
commitb87a173e25d6bf5c26f13d329cdddf57dbd4061a (patch)
treeed2f43c4b6058bf7ca91676afc320757fe277a15 /lib/cmdline.c
parentd9382bda4ef97d73c77ecaed7a8d5df20da8b8dd (diff)
downloadlinux-b87a173e25d6bf5c26f13d329cdddf57dbd4061a.tar.xz
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>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions