hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/ipv6/fib6_notifier.c
....@@ -7,12 +7,12 @@
77 #include <net/netns/ipv6.h>
88 #include <net/ip6_fib.h>
99
10
-int call_fib6_notifier(struct notifier_block *nb, struct net *net,
10
+int call_fib6_notifier(struct notifier_block *nb,
1111 enum fib_event_type event_type,
1212 struct fib_notifier_info *info)
1313 {
1414 info->family = AF_INET6;
15
- return call_fib_notifier(nb, net, event_type, info);
15
+ return call_fib_notifier(nb, event_type, info);
1616 }
1717
1818 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type,
....@@ -27,15 +27,16 @@
2727 return fib6_tables_seq_read(net) + fib6_rules_seq_read(net);
2828 }
2929
30
-static int fib6_dump(struct net *net, struct notifier_block *nb)
30
+static int fib6_dump(struct net *net, struct notifier_block *nb,
31
+ struct netlink_ext_ack *extack)
3132 {
3233 int err;
3334
34
- err = fib6_rules_dump(net, nb);
35
+ err = fib6_rules_dump(net, nb, extack);
3536 if (err)
3637 return err;
3738
38
- return fib6_tables_dump(net, nb);
39
+ return fib6_tables_dump(net, nb, extack);
3940 }
4041
4142 static const struct fib_notifier_ops fib6_notifier_ops_template = {