aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ef2df1475b51..6cf44866cecd 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)
31 return 0; 31 return 0;
32 32
33 return container_of(task_subsys_state(p, net_cls_subsys_id), 33 return container_of(task_subsys_state(p, net_cls_subsys_id),
34 struct cgroup_cls_state, css).classid; 34 struct cgroup_cls_state, css)->classid;
35} 35}
36#else 36#else
37extern int net_cls_subsys_id; 37extern int net_cls_subsys_id;