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-20 15:42:52 +01:00
2011-03-12 15:08:42 -08:00
2011-03-13 20:22:28 -07:00
2011-03-30 00:10:47 -07:00
2010-10-18 11:03:14 +02:00
2011-03-02 14:31:35 -08:00
2011-03-23 12:16:15 -07:00
2011-03-13 20:22:29 -07:00
2011-03-30 16:57:46 -07:00
2011-03-24 18:06:47 -07:00
2011-03-12 15:08:49 -08:00
2011-03-24 18:06:47 -07:00
2011-03-25 20:33:23 -07:00
2010-10-25 13:09:45 -07:00
2011-03-12 15:08:54 -08:00
2011-03-12 15:08:42 -08:00
2011-03-12 15:08:54 -08:00
2011-01-19 13:34:20 -08:00
2010-07-12 12:57:54 -07:00
2010-11-28 18:18:44 -08:00
2009-11-23 10:41:23 -08:00
2011-02-19 18:59:04 -08:00
2011-03-13 23:22:23 -07:00
2010-06-10 23:31:35 -07:00
2011-01-06 11:21:30 -08:00
2011-03-12 15:08:42 -08:00
2011-01-14 13:36:42 +01:00
2011-03-27 23:35:02 -07:00
2011-03-12 15:08:54 -08:00
2010-10-25 14:18:28 -07:00
2010-02-22 16:20:22 -08:00
2010-11-28 10:47:17 -08:00
2011-03-12 15:08:42 -08:00
2011-03-12 15:08:49 -08:00
2011-02-01 15:35:25 -08:00
2011-02-01 15:35:25 -08:00
2011-04-04 17:00:54 +02:00
2010-12-08 12:16:33 -08:00
2010-10-27 11:37:31 -07:00
2011-03-28 16:51:15 -07:00
2011-04-07 14:04:08 -07:00
2011-03-12 15:08:54 -08:00
2010-12-13 12:16:14 -08:00
2011-03-10 00:40:17 -08:00
2010-08-27 19:31:56 -07:00
2011-03-15 15:15:17 -07:00
2009-12-03 16:06:13 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-22 19:37:11 -07:00
2011-03-02 14:31:35 -08:00
2011-03-10 00:40:17 -08:00
2010-12-08 13:47:38 -08:00
2011-04-01 21:47:41 -07:00
2010-11-17 12:27:46 -08:00
2011-03-10 00:40:17 -08:00
2011-02-20 11:10:14 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-09 14:08:09 -08:00
2010-10-27 11:37:32 -07:00
2009-09-30 16:12:20 -07:00
2011-03-12 15:08:54 -08:00
2010-12-16 14:26:56 -08:00
2010-07-12 12:57:54 -07:00
2010-12-12 22:08:17 -08:00
2010-03-25 16:00:30 +01:00
2011-04-07 14:04:08 -07:00
2011-03-12 15:08:52 -08:00
2010-08-30 13:50:45 -07:00