[PATCH v0 0/4] Rework net_cls update socket logic
flat view
STALE5107d
From: Daniel Wagner <hidden>
Date: 2012-10-17 13:04:42
Also in:
cgroups
From: Daniel Wagner <redacted> Hi, This series updates net_cls to use the same socket update logic as net_prio. With this change sock_update_classid() is not called from recvmsg, sendmsg and friends anymore. This seems to be a good idea. Credit goes to John Fastabend for this work. The patches are against net-next. cheers, daniel Cc: Li Zefan <redacted> Cc: "David S. Miller" <davem@davemloft.net> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Eric Dumazet <redacted> Cc: Glauber Costa <redacted> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Joe Perches <joe@perches.com> Cc: John Fastabend <redacted> Cc: Li Zefan <redacted> Cc: Neil Horman <nhorman@tuxdriver.com> Cc: Stanislav Kinsbursky <redacted> Cc: Tejun Heo <tj@kernel.org> Cc: <redacted> Cc: <redacted> Daniel Wagner (4): cgroup: net_prio: Mark local used function static cgroup: net_cls: Fix local variable type decleration cgroup: net_cls: Pass in task to sock_update_classid() cgroup: net_cls: Rework update socket logic drivers/net/tun.c | 3 --- include/net/cls_cgroup.h | 4 ++-- net/core/netprio_cgroup.c | 2 +- net/core/sock.c | 6 +++--- net/sched/cls_cgroup.c | 38 ++++++++++++++++++++++++++++++++++++++ net/socket.c | 8 -------- 6 files changed, 44 insertions(+), 17 deletions(-) -- 1.7.11.4