]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/fib_notifier.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux.git] / net / ipv4 / fib_notifier.c
index 1a128c1346fb046f0513ecc180d103179eb4fe63..0c28bd469a6810007ef66c6c224c6314aed56a6c 100644 (file)
@@ -34,17 +34,16 @@ static unsigned int fib4_seq_read(struct net *net)
        return net->ipv4.fib_seq + fib4_rules_seq_read(net);
 }
 
-static int fib4_dump(struct net *net, struct notifier_block *nb)
+static int fib4_dump(struct net *net, struct notifier_block *nb,
+                    struct netlink_ext_ack *extack)
 {
        int err;
 
-       err = fib4_rules_dump(net, nb);
+       err = fib4_rules_dump(net, nb, extack);
        if (err)
                return err;
 
-       fib_notify(net, nb);
-
-       return 0;
+       return fib_notify(net, nb, extack);
 }
 
 static const struct fib_notifier_ops fib4_notifier_ops_template = {