Skip to content

Commit

Permalink
cls_cgroup: Fix build error when built-in
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu authored and David S. Miller committed May 25, 2010
1 parent f16d3d5 commit 937eada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/cls_cgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 937eada

Please sign in to comment.