Patrick McHardy
848c29fd64
[NETFILTER]: nat: avoid rerouting packets if only XFRM policy key changed
...
Currently NAT not only reroutes packets in the OUTPUT chain when the
routing key changed, but also if only the non-routing part of the
IPsec policy key changed. This breaks ping -I since it doesn't use
SO_BINDTODEVICE but IP_PKTINFO cmsg to specify the output device, and
this information is lost.
Only do full rerouting if the routing key changed, and just do a new
policy lookup with the old route if only the ports changed.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-03-22 12:30:29 -07:00
..
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 14:55:33 -07:00
2007-02-10 23:19:39 -08:00
2007-03-05 13:25:18 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-14 08:09:54 -08:00
2006-12-02 21:31:33 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:59 -08:00
2007-03-05 13:25:20 -08:00
2007-02-14 08:09:54 -08:00
2007-02-10 23:19:39 -08:00
2007-02-14 08:09:59 -08:00
2007-02-10 23:19:39 -08:00
2006-12-02 21:31:22 -08:00
2007-02-12 11:13:58 -08:00
2007-02-10 23:19:39 -08:00
2006-12-02 21:31:22 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-12-02 21:23:42 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 12:39:17 -08:00
2007-02-08 12:39:17 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-03-22 12:30:29 -07:00
2006-12-02 21:31:22 -08:00
2007-02-14 08:09:59 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-08 12:39:19 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 11:11:55 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-13 12:32:58 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 12:39:19 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 11:11:55 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 11:15:02 -08:00
2007-02-08 12:39:16 -08:00
2007-02-12 09:48:46 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2006-12-02 22:08:26 -08:00
2007-03-05 13:25:19 -08:00
2006-12-02 22:07:44 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-12-02 22:09:06 -08:00
2007-02-10 23:19:39 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2006-12-02 22:07:13 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-03-22 12:30:29 -07:00
2006-12-02 22:10:18 -08:00