ipv4: Change rt->rt_iif encoding.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 20:57:45 +0000 (13:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 23:36:27 +0000 (16:36 -0700)
commit13378cad02afc2adc6c0e07fca03903c7ada0b37
treee12625227f409a7b658c4f39a2dc926cf60bb27e
parentb68581778cd0051a3fb9a2b614dee7eccb5127ff
ipv4: Change rt->rt_iif encoding.

On input packet processing, rt->rt_iif will be zero if we should
use skb->dev->ifindex.

Since we access rt->rt_iif consistently via inet_iif(), that is
the only spot whose interpretation have to adjust.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
net/ipv4/route.c