| commit | 37eb23e2ac24d92f651bf1a614012b71943a8e36 | [log] [tgz] |
|---|---|---|
| author | Tejun Heo <tj@kernel.org> | Fri Nov 16 19:23:43 2012 -0800 |
| committer | Tejun Heo <tj@kernel.org> | Fri Nov 16 19:23:43 2012 -0800 |
| tree | 88b57d07400c7379b9154480a9f1792bb67e2711 | |
| parent | b1f1bd616495fc35407141ec33434ba9565ace94 [diff] |
netcls_cgroup: introduce netcls_mutex Introduce netcls_mutex to synchronize modifications to cgroup_cls_state. New cgrp now inherits classid from ->css_online() and write_classid() updates classid while holdin netcls_mutex. As write_classid() doesn't propagate new configuration downwards, this currently doesn't make any userland-visible difference, but will help implementing proper hierarchy support. Signed-off-by: Tejun Heo <tj@kernel.org>