]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd9cd9c0b6b09a7599cce907452e25fe5f6f1b85
treee12625227f409a7b658c4f39a2dc926cf60bb27e
parentd44666367ed3dbf136db9a52716927446078e4b8
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