cls_cgroup: Fix build error when built-in
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 May 2010 06:53:37 +0000 (23:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2010 06:53:37 +0000 (23:53 -0700)
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>
include/net/cls_cgroup.h

index ef2df1475b519efe6d131216e72b6f15e7362c60..6cf44866cecdb47d8adb1a6d8100ec83fc4c5a02 100644 (file)
@@ -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;