Thread (1 message) 1 message, 1 author, 2012-10-25

Re: [PATCH v1 4/5] cgroup: net_cls: Pass in task to sock_update_classid()

From: Neil Horman <hidden>
Date: 2012-10-25 18:43:17
Also in: cgroups

On Thu, Oct 25, 2012 at 04:16:58PM +0200, Daniel Wagner wrote:
From: Daniel Wagner <redacted>

sock_update_classid() assumes that the update operation always are
applied on the current task. sock_update_classid() needs to know on
which tasks to work on in order to be able to migrate task between
cgroups using the struct cgroup_subsys attach() callback.

Signed-off-by: Daniel Wagner <redacted>
Cc: "David S. Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: "Michael S. Tsirkin" <redacted>
Cc: Eric Dumazet <redacted>
Cc: Glauber Costa <redacted>
Cc: Joe Perches <redacted>
Cc: Neil Horman <redacted>
Cc: Stanislav Kinsbursky <redacted>
Cc: Tejun Heo <redacted>
Cc: <redacted>
Cc: <redacted>
---
 drivers/net/tun.c        | 2 +-
 include/net/cls_cgroup.h | 2 +-
 net/core/sock.c          | 6 +++---
 net/socket.c             | 8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)
Acked-by: Neil Horman <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help