Patrick McHardy
48d5cad87c
[XFRM]: Fix SNAT-related crash in xfrm4_output_finish
...
When a packet matching an IPsec policy is SNATed so it doesn't match any
policy anymore it looses its xfrm bundle, which makes xfrm4_output_finish
crash because of a NULL pointer dereference.
This patch directs these packets to the original output path instead. Since
the packets have already passed the POST_ROUTING hook, but need to start at
the beginning of the original output path which includes another
POST_ROUTING invocation, a flag is added to the IPCB to indicate that the
packet was rerouted and doesn't need to pass the POST_ROUTING hook again.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-02-15 15:10:22 -08:00
..
2006-02-13 11:39:57 +01:00
2006-02-13 15:34:11 -08:00
2006-02-04 23:51:17 -08:00
2006-02-02 16:57:31 -08:00
2005-04-24 20:10:16 -07:00
2006-01-12 14:06:39 -08:00
2006-01-09 14:16:08 -08:00
2005-05-19 12:42:39 -07:00
2005-08-29 16:01:32 -07:00
2006-01-03 14:10:46 -08:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2006-01-03 13:11:21 -08:00
2005-10-28 16:53:13 -04:00
2005-04-16 15:20:36 -07:00
2005-09-08 12:32:46 -07:00
2005-08-29 15:32:25 -07:00
2006-01-08 20:14:07 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:14:07 -08:00
2005-10-08 15:00:57 -07:00
2005-12-05 13:42:06 -08:00
2005-04-16 15:20:36 -07:00
2006-01-07 12:57:28 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:10:24 -08:00
2005-04-16 15:20:36 -07:00
2006-01-13 13:06:40 -08:00
2006-01-03 13:11:21 -08:00
2006-01-16 16:51:54 -05:00
2005-09-21 23:03:55 -04:00
2006-01-27 16:49:58 -05:00
2005-12-27 14:03:00 -08:00
2006-01-03 13:10:46 -08:00
2006-01-03 13:10:47 -08:00
2006-01-03 13:11:15 -08:00
2006-01-10 12:54:26 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:10:31 -08:00
2005-04-16 15:20:36 -07:00
2005-06-21 13:51:04 -07:00
2005-08-29 15:41:54 -07:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:11:21 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:11:21 -08:00
2006-02-15 15:10:22 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-07 12:57:31 -08:00
2005-04-16 15:20:36 -07:00
2006-01-16 16:51:53 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 21:58:18 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2005-09-22 05:14:33 -03:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2005-11-10 02:26:40 +01:00
2005-10-28 16:53:13 -04:00
2005-08-29 16:01:32 -07:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:33:26 -07:00
2006-01-09 14:16:05 -08:00
2006-01-07 12:57:29 -08:00
2005-08-29 15:32:25 -07:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:37:22 -07:00
2005-11-05 22:02:24 +01:00
2006-01-03 13:10:36 -08:00
2005-04-16 15:20:36 -07:00
2006-01-31 17:35:35 -08:00
2005-07-05 14:15:09 -07:00
2005-04-16 15:20:36 -07:00
2005-07-05 15:12:04 -07:00
2005-06-21 18:46:13 -07:00
2006-02-02 20:40:09 -08:00
2005-09-14 08:36:54 -04:00
2005-08-29 15:43:19 -07:00
2006-01-03 13:10:57 -08:00
2006-01-03 16:03:49 -08:00
2006-01-03 13:10:54 -08:00
2006-01-03 13:10:38 -08:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:32:25 -07:00
2005-08-29 15:33:26 -07:00
2006-02-15 15:10:22 -08:00