cls_cgroup: fix an oops when removing a cgroup
authorLi Zefan <lizf@cn.fujitsu.com>
Sun, 28 Dec 2008 17:57:19 +0000 (17:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Dec 2008 03:40:44 +0000 (19:40 -0800)
commit2f068bf8711c35b98bf9a0172555b8390a762fc0
tree270fc6c0a3df7ccbf9a77b4060dd3bc115c1b0b5
parent684f4a4c4a69f7226d8c7559c0cdfc7bd388335a
cls_cgroup: fix an oops when removing a cgroup

When removing a cgroup, an oops was triggered immediately. The cause
is wrong kfree() in cgrp_destroy().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_cgroup.c