Sabrina Dubroca
4eb2e13415
espintcp: restore IP CB before handing the packet to xfrm
...
Xiumei reported a bug with espintcp over IPv6 in transport mode,
because xfrm6_transport_finish expects to find IP6CB data (struct
inet6_skb_cb). Currently, espintcp zeroes the CB, but the relevant
part is actually preserved by previous layers (first set up by tcp,
then strparser only zeroes a small part of tcp_skb_tb), so we can just
relocate it to the start of skb->cb.
Fixes: e27cca96cd68 ("xfrm: add espintcp (RFC 8229)")
Reported-by: Xiumei Mu <xmu@redhat.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2020-08-17 15:58:04 +02:00
..
2020-06-14 01:57:21 +09:00
2020-08-02 01:02:12 -07:00
2020-02-24 13:02:53 -08:00
2020-06-28 21:37:23 -07:00
2020-08-03 15:48:32 -07:00
2020-08-05 20:13:21 -07:00
2020-07-25 17:49:04 -07:00
2020-06-26 10:37:11 +02:00
2020-08-02 01:02:12 -07:00
2020-08-03 23:32:23 +02:00
2020-08-04 14:27:25 -07:00
2020-08-05 20:13:21 -07:00
2020-07-24 15:41:54 -07:00
2020-07-24 15:41:54 -07:00
2020-06-16 16:02:08 +02:00
2020-08-06 16:39:14 -07:00
2020-06-23 20:27:09 -07:00
2020-08-05 20:13:21 -07:00
2020-08-03 16:03:18 -07:00
2020-04-28 14:39:46 -07:00
2020-07-23 15:14:58 -07:00
2020-05-23 16:56:17 -07:00
2020-08-03 18:24:30 -07:00
2020-07-31 16:46:26 -07:00
2020-07-24 15:41:54 -07:00
2019-09-26 08:56:17 +02:00
2020-08-08 08:17:22 +02:00
2020-08-05 20:13:21 -07:00
2020-08-05 20:13:21 -07:00
2020-07-24 15:41:54 -07:00
2020-08-02 01:02:12 -07:00
2020-07-30 16:45:31 -07:00
2020-06-20 17:22:22 -07:00
2020-06-14 01:57:21 +09:00
2020-07-24 15:41:54 -07:00
2020-08-03 13:02:06 +02:00
2020-06-14 01:57:21 +09:00
2020-07-27 11:40:47 -07:00
2020-08-07 17:26:16 -07:00
2020-07-23 11:49:41 -07:00
2020-08-05 20:13:21 -07:00
2020-07-13 17:20:40 -07:00
2020-07-25 20:16:32 -07:00
2020-07-24 15:41:54 -07:00
2020-07-25 17:49:04 -07:00
2020-06-14 01:57:21 +09:00
2020-08-05 12:11:46 -07:00
2020-07-24 15:41:54 -07:00
2020-07-24 15:41:54 -07:00
2020-05-23 16:36:05 -07:00
2020-07-25 17:49:04 -07:00
2020-08-02 01:02:12 -07:00
2019-12-16 10:15:49 +01:00
2020-07-24 15:41:54 -07:00
2020-08-02 01:02:12 -07:00
2020-08-05 20:13:21 -07:00
2020-07-25 17:49:04 -07:00
2020-07-27 10:30:01 -07:00
2019-06-22 08:59:24 -04:00
2020-08-04 13:49:43 -07:00
2020-07-13 17:20:40 -07:00
2020-08-05 12:19:52 -07:00
2020-08-07 17:40:45 -07:00
2020-07-19 18:16:41 -07:00
2020-07-25 17:49:04 -07:00
2019-08-10 15:25:47 -07:00
2020-08-03 10:56:22 +02:00
2020-07-24 15:41:54 -07:00
2020-07-28 12:50:15 +02:00
2020-08-17 15:58:04 +02:00
2020-08-05 20:13:21 -07:00
2020-06-30 15:57:34 -07:00
2020-07-07 15:41:05 -07:00
2020-05-23 16:56:17 -07:00
2020-07-28 13:43:40 -07:00