Re: [PATCH v2 net-next] tcp: enhance tcp collapsing

2016-11-01 Thread Neal Cardwell
On Tue, Nov 1, 2016 at 1:53 PM, Eric Dumazet wrote: > From: Eric Dumazet > > As Ilya Lesokhin suggested, we can collapse two skbs at retransmit > time even if the skb at the right has fragments. > > We simply have to use more generic skb_copy_bits() instead of > skb_copy_from_linear_data() in tcp

[PATCH v2 net-next] tcp: enhance tcp collapsing

2016-11-01 Thread Eric Dumazet
From: Eric Dumazet As Ilya Lesokhin suggested, we can collapse two skbs at retransmit time even if the skb at the right has fragments. We simply have to use more generic skb_copy_bits() instead of skb_copy_from_linear_data() in tcp_collapse_retrans() Also need to guard this skb_copy_bits() in c