| .. | .. |
|---|
| 7 | 7 | #include <net/netns/ipv6.h> |
|---|
| 8 | 8 | #include <net/ip6_fib.h> |
|---|
| 9 | 9 | |
|---|
| 10 | | -int call_fib6_notifier(struct notifier_block *nb, struct net *net, |
|---|
| 10 | +int call_fib6_notifier(struct notifier_block *nb, |
|---|
| 11 | 11 | enum fib_event_type event_type, |
|---|
| 12 | 12 | struct fib_notifier_info *info) |
|---|
| 13 | 13 | { |
|---|
| 14 | 14 | info->family = AF_INET6; |
|---|
| 15 | | - return call_fib_notifier(nb, net, event_type, info); |
|---|
| 15 | + return call_fib_notifier(nb, event_type, info); |
|---|
| 16 | 16 | } |
|---|
| 17 | 17 | |
|---|
| 18 | 18 | int call_fib6_notifiers(struct net *net, enum fib_event_type event_type, |
|---|
| .. | .. |
|---|
| 27 | 27 | return fib6_tables_seq_read(net) + fib6_rules_seq_read(net); |
|---|
| 28 | 28 | } |
|---|
| 29 | 29 | |
|---|
| 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) |
|---|
| 31 | 32 | { |
|---|
| 32 | 33 | int err; |
|---|
| 33 | 34 | |
|---|
| 34 | | - err = fib6_rules_dump(net, nb); |
|---|
| 35 | + err = fib6_rules_dump(net, nb, extack); |
|---|
| 35 | 36 | if (err) |
|---|
| 36 | 37 | return err; |
|---|
| 37 | 38 | |
|---|
| 38 | | - return fib6_tables_dump(net, nb); |
|---|
| 39 | + return fib6_tables_dump(net, nb, extack); |
|---|
| 39 | 40 | } |
|---|
| 40 | 41 | |
|---|
| 41 | 42 | static const struct fib_notifier_ops fib6_notifier_ops_template = { |
|---|