Merge remote-tracking branch 'net-next/master'
[deliverable/linux.git] / net / ipv4 / fib_rules.c
index 6e9ea69e5f751bd39d0cebb26b3b0b0e73877913..770bebed6b28823d0490627711c1e1986729474f 100644 (file)
@@ -56,6 +56,9 @@ int __fib_lookup(struct net *net, struct flowi4 *flp,
        };
        int err;
 
+       /* update flow if oif or iif point to device enslaved to l3mdev */
+       l3mdev_update_flow(net, flowi4_to_flowi(flp));
+
        err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg);
 #ifdef CONFIG_IP_ROUTE_CLASSID
        if (arg.rule)
This page took 0.02583 seconds and 5 git commands to generate.