Eli Cooper
f418043910
ipv4: Set skb->protocol properly for local output
...
When xfrm is applied to TSO/GSO packets, it follows this path:
xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()
where skb_gso_segment() relies on skb->protocol to function properly.
This patch sets skb->protocol to ETH_P_IP before dst_output() is called,
fixing a bug where GSO packets sent through a sit tunnel are dropped
when xfrm is involved.
Cc: stable@vger.kernel.org
Signed-off-by: Eli Cooper <elicooper@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-02 12:34:22 -05:00
..
2016-11-30 20:50:23 +01:00
2016-11-29 20:45:54 -05:00
2016-04-27 22:48:24 -04:00
2016-07-07 10:15:34 +10:00
2016-09-01 15:18:08 -07:00
2016-11-30 11:09:39 +01:00
2016-11-16 13:24:50 -05:00
2016-09-28 04:48:00 -04:00
2016-09-12 15:52:44 -07:00
2016-11-16 13:24:50 -05:00
2016-10-20 14:32:22 -04:00
2016-06-30 05:03:36 -04:00
2016-10-20 14:32:22 -04:00
2016-11-09 18:49:39 -05:00
2016-11-15 19:51:16 -05:00
2016-07-07 10:35:06 +02:00
2016-09-08 16:13:09 -07:00
2016-06-05 22:56:42 -04:00
2016-10-17 10:17:05 -04:00
2016-07-07 10:35:06 +02:00
2016-11-03 16:10:26 -04:00
2016-04-27 22:48:23 -04:00
2016-09-10 20:53:55 -07:00
2016-09-16 04:24:07 -04:00
2016-03-01 17:18:44 -05:00
2016-12-02 12:34:22 -05:00
2016-10-26 17:33:22 -04:00
2016-11-03 16:10:26 -04:00
2016-09-17 10:13:07 -04:00
2016-09-09 09:02:08 +02:00
2016-08-22 21:04:41 -07:00
2016-09-17 10:13:07 -04:00
2016-11-03 16:10:26 -04:00
2016-11-28 12:15:00 -05:00
2016-09-21 00:23:01 -04:00
2016-11-24 12:44:36 +01:00
2016-10-20 14:45:52 -04:00
2016-09-30 01:50:45 -04:00
2016-10-20 14:45:52 -04:00
2016-11-13 12:24:44 -05:00
2016-04-27 22:48:24 -04:00
2016-10-22 16:23:12 -04:00
2016-09-21 00:23:01 -04:00
2016-05-11 14:43:19 -04:00
2016-09-21 00:22:59 -04:00
2016-11-21 13:13:56 -05:00
2016-05-11 14:43:19 -04:00
2016-10-31 15:16:28 -04:00
2016-08-23 23:11:36 -07:00
2016-09-08 16:08:10 -07:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-10-02 22:20:41 -04:00
2016-11-13 12:30:02 -05:00
2016-05-11 14:43:19 -04:00
2016-09-01 14:09:01 -07:00
2016-09-21 00:23:00 -04:00
2016-06-10 23:07:49 -07:00
2016-09-19 20:59:34 -04:00
2016-10-02 22:20:41 -04:00
2016-03-01 17:18:44 -05:00
2016-09-21 00:23:00 -04:00
2016-05-02 17:02:25 -04:00
2016-09-28 07:52:34 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-09-08 17:16:12 -07:00
2016-11-03 16:12:06 -04:00
2016-07-11 13:27:06 -07:00
2016-09-08 16:13:09 -07:00
2016-11-24 15:32:14 -05:00
2016-10-20 14:32:22 -04:00
2016-06-17 20:23:32 -07:00
2016-11-24 15:32:14 -05:00
2016-11-24 15:32:14 -05:00
2015-09-17 17:18:37 -07:00
2015-10-24 06:54:12 -07:00
2016-09-12 15:52:44 -07:00