mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
a56e19538d
commit
832d1d5bfa
11 changed files with 16 additions and 15 deletions
|
@ -241,7 +241,7 @@ skip:
|
|||
}
|
||||
}
|
||||
|
||||
static int basic_dump(struct tcf_proto *tp, unsigned long fh,
|
||||
static int basic_dump(struct net *net, struct tcf_proto *tp, unsigned long fh,
|
||||
struct sk_buff *skb, struct tcmsg *t)
|
||||
{
|
||||
struct basic_filter *f = (struct basic_filter *) fh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue