diff options
Diffstat (limited to 'net/ipv6/ip6mr.c')
| -rw-r--r-- | net/ipv6/ip6mr.c | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 857a89ad4d6c..bfa49ff70531 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -265,9 +265,10 @@ static void __net_exit ip6mr_rules_exit(struct net *net)  	rtnl_unlock();  } -static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) +static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, +			    struct netlink_ext_ack *extack)  { -	return fib_rules_dump(net, nb, RTNL_FAMILY_IP6MR); +	return fib_rules_dump(net, nb, RTNL_FAMILY_IP6MR, extack);  }  static unsigned int ip6mr_rules_seq_read(struct net *net) @@ -324,7 +325,8 @@ static void __net_exit ip6mr_rules_exit(struct net *net)  	rtnl_unlock();  } -static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) +static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, +			    struct netlink_ext_ack *extack)  {  	return 0;  } @@ -1256,10 +1258,11 @@ static unsigned int ip6mr_seq_read(struct net *net)  	return net->ipv6.ipmr_seq + ip6mr_rules_seq_read(net);  } -static int ip6mr_dump(struct net *net, struct notifier_block *nb) +static int ip6mr_dump(struct net *net, struct notifier_block *nb, +		      struct netlink_ext_ack *extack)  {  	return mr_dump(net, nb, RTNL_FAMILY_IP6MR, ip6mr_rules_dump, -		       ip6mr_mr_table_iter, &mrt_lock); +		       ip6mr_mr_table_iter, &mrt_lock, extack);  }  static struct notifier_block ip6_mr_notifier = {  |