Files
kernel_xiaomi_sm8250/include/net
OGAWA Hirofumi 1b86a58f9d ipv4: Fix "Set rt->rt_iif more sanely on output routes."
Commit 1018b5c016 ("Set rt->rt_iif more
sanely on output routes.")  breaks rt_is_{output,input}_route.

This became the cause to return "IP_PKTINFO's ->ipi_ifindex == 0".

To fix it, this does:

1) Add "int rt_route_iif;" to struct rtable

2) For input routes, always set rt_route_iif to same value as rt_iif

3) For output routes, always set rt_route_iif to zero.  Set rt_iif
   as it is done currently.

4) Change rt_is_{output,input}_route() to test rt_route_iif

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-07 14:04:08 -07:00
..
2011-03-15 09:57:38 -05:00
2010-11-29 09:45:15 -08:00
2010-12-31 10:47:46 -08:00
2011-03-27 17:55:01 -07:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2010-12-19 21:59:35 -08:00
2010-10-25 13:09:45 -07:00
2010-10-27 11:37:32 -07:00
2010-12-02 13:27:33 -08:00
2011-03-15 09:36:50 +09:00
2011-02-08 16:17:55 -08:00
2011-01-24 15:32:47 -08:00
2010-11-24 11:16:43 -08:00
2011-03-01 12:35:03 -08:00
2011-03-01 12:35:03 -08:00
2010-11-28 11:12:20 -08:00