summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_cgroup.c
diff options
context:
space:
mode:
authorWANG Cong2014-01-10 01:14:01 +0100
committerDavid S. Miller2014-01-13 20:50:14 +0100
commit832d1d5bfaefafa5aa40282f6765c6d996fe384e (patch)
tree2dd7b013f0a2b621a4346dad8d22c8374cd10eb2 /net/sched/cls_cgroup.c
parentnet_sched: act: clean up notification functions (diff)
downloadkernel-qcow2-linux-832d1d5bfaefafa5aa40282f6765c6d996fe384e.tar.gz
kernel-qcow2-linux-832d1d5bfaefafa5aa40282f6765c6d996fe384e.tar.xz
kernel-qcow2-linux-832d1d5bfaefafa5aa40282f6765c6d996fe384e.zip
net_sched: add struct net pointer to tcf_proto_ops->dump
It will be needed by the next patch. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_cgroup.c')
-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 8349fcdc50f3..8e2158ab551c 100644
--- a/net/sched/cls_cgroup.c
+++ b/net/sched/cls_cgroup.c
@@ -164,7 +164,7 @@ skip:
arg->count++;
}
-static int cls_cgroup_dump(struct tcf_proto *tp, unsigned long fh,
+static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, unsigned long fh,
struct sk_buff *skb, struct tcmsg *t)
{
struct cls_cgroup_head *head = tp->root;