Eric Dumazet
9580bf2edb
net: relax expensive skb_unclone() in iptunnel_handle_offloads()
...
Locally generated TCP GSO packets having to go through a GRE/SIT/IPIP
tunnel have to go through an expensive skb_unclone()
Reallocating skb->head is a lot of work.
Test should really check if a 'real clone' of the packet was done.
TCP does not care if the original gso_type is changed while the packet
travels in the stack.
This adds skb_header_unclone() which is a variant of skb_clone()
using skb_header_cloned() check instead of skb_cloned().
This variant can probably be used from other points.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-05-03 00:22:19 -04:00
..
2016-04-04 10:41:08 -07:00
2016-03-23 06:06:45 -07:00
2016-03-21 14:35:52 -07:00
2016-04-21 15:02:40 -04:00
2016-04-29 16:29:11 -04:00
2016-04-24 00:12:08 -04:00
2016-03-24 19:57:15 -07:00
2016-05-02 00:16:39 -04:00
2016-03-23 06:09:15 -07:00
2016-04-04 10:41:08 -07:00
2016-03-29 11:52:11 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-20 09:34:02 -06:00
2016-04-04 10:41:08 -07:00
2016-04-19 20:26:11 -04:00
2016-03-25 11:37:57 -04:00
2016-04-04 10:41:08 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-04-05 14:19:08 +02:00
2016-03-25 19:10:03 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-26 16:14:37 -04:00
2016-03-23 06:06:45 -07:00
2016-04-26 15:47:32 -07:00
2016-03-19 11:03:49 +01:00
2016-03-20 13:28:18 -07:00
2016-03-20 18:58:18 -07:00
2016-04-18 14:45:08 -04:00
2016-04-04 10:41:08 -07:00
2016-03-25 08:48:31 -07:00
2016-04-07 16:44:14 -04:00
2016-04-07 17:22:20 -07:00
2016-04-12 10:25:30 -07:00
2016-03-19 18:52:29 -07:00
2016-03-25 16:37:42 -07:00
2016-04-01 17:03:37 -05:00
2016-04-06 13:18:19 +02:00
2016-04-13 10:41:08 +02:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-04-05 13:25:12 +02:00
2016-04-26 11:47:41 -04:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-03-24 10:52:25 -07:00
2016-03-22 15:36:02 -07:00
2016-03-18 18:10:38 -07:00
2016-04-11 21:15:48 -04:00
2016-03-20 16:47:13 -04:00
2016-04-04 10:41:08 -07:00
2016-04-14 19:31:34 -07:00
2016-03-28 13:57:51 -04:00
2016-04-21 14:14:58 -04:00
2016-05-02 22:51:41 -04:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-25 15:09:11 -04:00
2016-03-23 12:34:17 +01:00
2016-03-21 19:30:06 -04:00
2016-03-19 15:15:07 -07:00
2016-03-25 16:37:42 -07:00
2016-04-04 10:41:08 -07:00
2016-04-15 13:00:11 -05:00
2016-04-07 21:04:26 -04:00
2016-04-18 14:45:08 -04:00
2016-04-14 09:01:47 -06:00
2016-04-14 21:14:03 -04:00
2016-04-23 18:51:33 -04:00
2016-04-05 10:56:32 +02:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-29 11:52:11 +02:00
2016-04-15 17:29:35 -04:00
2016-04-14 12:56:09 -07:00
2016-05-03 00:22:19 -04:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-04-02 20:23:09 -04:00
2016-04-04 10:41:08 -07:00
2016-04-20 20:31:14 -07:00
2016-04-21 13:48:20 -04:00
2016-04-26 15:47:32 -07:00
2016-04-07 16:53:29 -04:00
2016-04-13 12:02:28 -07:00