Commit 937eada4 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f16d3d57
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment