aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/cls_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_cgroup.c b/net/sched/cls_cgroup.c
index 0d68b1975983..31d95b1946c6 100644
--- a/net/sched/cls_cgroup.c
+++ b/net/sched/cls_cgroup.c
@@ -46,7 +46,7 @@ static struct cgroup_subsys_state *cgrp_create(struct cgroup_subsys *ss,
46 46
47static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) 47static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp)
48{ 48{
49 kfree(ss); 49 kfree(net_cls_state(cgrp));
50} 50}
51 51
52static u64 read_classid(struct cgroup *cgrp, struct cftype *cft) 52static u64 read_classid(struct cgroup *cgrp, struct cftype *cft)