Message ID | 1401795584-22664-105-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index a8bcc2274097..06329ca4787d 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2360,7 +2360,7 @@ static int rt_fill_info(struct net *net, __be32 dst, __be32 src, } } else #endif - if (nla_put_u32(skb, RTA_IIF, rt->rt_iif)) + if (nla_put_u32(skb, RTA_IIF, skb->dev->ifindex)) goto nla_put_failure; }