summaryrefslogtreecommitdiff
path: root/include/net/cls_cgroup.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-05-25 06:53:37 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-05-25 06:53:37 (GMT)
commit937eada45fa7bd233dfa59bbd8c0b436b02b6491 (patch)
tree9cba6c42ae469d6f157a737d706d5edec08b37d8 /include/net/cls_cgroup.h
parentf16d3d57486cd079b29ae7a6c3b31c90e69c9c44 (diff)
downloadlinux-937eada45fa7bd233dfa59bbd8c0b436b02b6491.tar.xz
cls_cgroup: Fix build error when built-in
There is a typo in cgroup_cls_state when cls_cgroup is built-in. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/cls_cgroup.h')
-rw-r--r--include/net/cls_cgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cls_cgroup.h b/include/net/cls_cgroup.h
index ef2df14..6cf4486 100644
--- a/include/net/cls_cgroup.h
+++ b/include/net/cls_cgroup.h
@@ -31,7 +31,7 @@ static inline u32 task_cls_classid(struct task_struct *p)
return 0;
return container_of(task_subsys_state(p, net_cls_subsys_id),
- struct cgroup_cls_state, css).classid;
+ struct cgroup_cls_state, css)->classid;
}
#else
extern int net_cls_subsys_id;