diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-01-09 16:14:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-13 11:50:14 -0800 |
commit | 832d1d5bfaefafa5aa40282f6765c6d996fe384e (patch) | |
tree | 2dd7b013f0a2b621a4346dad8d22c8374cd10eb2 /net/sched/cls_fw.c | |
parent | a56e19538d02ade9ee6ae82da4a216d7a632e8d5 (diff) | |
download | linux-832d1d5bfaefafa5aa40282f6765c6d996fe384e.tar.gz linux-832d1d5bfaefafa5aa40282f6765c6d996fe384e.tar.bz2 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_fw.c')
-rw-r--r-- | net/sched/cls_fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_fw.c b/net/sched/cls_fw.c index 3f9cece13807..d605285af5bf 100644 --- a/net/sched/cls_fw.c +++ b/net/sched/cls_fw.c @@ -324,7 +324,7 @@ static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg) } } -static int fw_dump(struct tcf_proto *tp, unsigned long fh, +static int fw_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, struct sk_buff *skb, struct tcmsg *t) { struct fw_head *head = (struct fw_head *)tp->root; |