Files
kernel_xiaomi_sm8250/include/linux
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-01-08 20:14:02 -08:00
2006-02-02 12:23:12 +00:00
2006-01-18 19:20:24 -08:00
2006-01-13 16:29:56 -08:00
2005-11-13 18:14:17 -08:00
2005-12-10 00:20:25 -05:00
2006-01-13 09:12:21 -08:00
2006-02-03 08:32:00 -08:00
2006-02-11 21:41:11 -08:00
2006-01-08 20:14:02 -08:00
2006-01-14 18:27:10 -08:00
2006-01-08 20:13:49 -08:00
2005-11-05 21:00:02 -05:00
2006-01-18 19:20:29 -08:00
2005-11-13 18:14:10 -08:00
2005-10-30 17:37:32 -08:00
2005-11-10 02:26:41 +01:00
2006-01-14 18:27:09 -08:00
2005-11-08 17:14:08 +01:00
2005-11-08 09:40:47 -08:00
2006-01-06 13:24:54 -08:00
2006-02-01 08:53:13 -08:00
2006-02-08 01:03:52 -05:00
2006-01-06 13:24:29 -08:00
2006-01-06 08:33:53 -08:00
2005-11-07 14:18:56 +01:00
2006-02-10 08:13:12 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:17 -08:00
2006-02-07 16:12:33 -08:00
2006-01-08 20:13:46 -08:00
2006-01-18 19:20:29 -08:00
2006-01-06 08:33:20 -08:00
2006-01-14 18:27:12 -08:00
2006-01-03 13:11:15 -08:00
2006-02-09 16:43:38 -08:00
2006-01-06 08:33:29 -08:00
2005-11-13 18:14:12 -08:00
2006-01-15 02:12:54 +01:00
2005-11-07 07:53:46 -08:00
2006-01-10 08:01:42 -08:00
2006-01-08 20:14:02 -08:00
2005-11-07 07:53:41 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2006-01-14 18:27:13 -08:00
2006-02-07 20:56:35 -05:00
2006-01-12 14:06:31 -08:00
2006-01-08 20:13:45 -08:00
2006-02-11 21:41:10 -08:00
2005-10-30 17:37:32 -08:00
2006-02-11 21:41:11 -08:00
2005-10-30 17:37:18 -08:00
2006-01-12 14:06:38 -08:00
2006-01-18 19:20:17 -08:00
2006-02-10 08:13:12 -08:00
2006-01-10 08:01:59 -08:00
2006-02-10 08:13:12 -08:00
2006-02-01 08:53:13 -08:00
2005-11-07 07:53:41 -08:00
2006-01-08 20:12:40 -08:00
2006-01-10 08:01:57 -08:00