]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/fib_rules.c
netfilter: fix netns dependencies with conntrack templates
[karo-tx-linux.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;