diff options
| author | Daniel Borkmann <[email protected]> | 2015-07-15 12:21:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-20 19:41:30 +0000 |
| commit | b87a173e25d6bf5c26f13d329cdddf57dbd4061a (patch) | |
| tree | ed2f43c4b6058bf7ca91676afc320757fe277a15 /net/switchdev/switchdev.c | |
| parent | enic: allow adaptive coalesce setting for msi/legacy intr (diff) | |
| download | kernel-b87a173e25d6bf5c26f13d329cdddf57dbd4061a.tar.gz kernel-b87a173e25d6bf5c26f13d329cdddf57dbd4061a.zip | |
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 <[email protected]>
Cc: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
