Merge tag 'regmap-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / fib_rules.c
index 56151982f74efb26dab4abad429f473ba8b06cba..18123d50f576117358e47c4d3de0f5c3dcebafaa 100644 (file)
@@ -47,11 +47,12 @@ struct fib4_rule {
 #endif
 };
 
-int __fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res)
+int __fib_lookup(struct net *net, struct flowi4 *flp,
+                struct fib_result *res, unsigned int flags)
 {
        struct fib_lookup_arg arg = {
                .result = res,
-               .flags = FIB_LOOKUP_NOREF,
+               .flags = flags,
        };
        int err;