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>
This commit is contained in:
parent
f16d3d5748
commit
937eada45f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ static inline u32 task_cls_classid(struct task_struct *p)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return container_of(task_subsys_state(p, net_cls_subsys_id),
|
return container_of(task_subsys_state(p, net_cls_subsys_id),
|
||||||
struct cgroup_cls_state, css).classid;
|
struct cgroup_cls_state, css)->classid;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
extern int net_cls_subsys_id;
|
extern int net_cls_subsys_id;
|
||||||
|
|
Loading…
Reference in a new issue