Re: [PATCH net] tcp: avoid fragmenting peculiar skbs in SACK

2017-05-11 Thread David Miller
From: Yuchung Cheng Date: Wed, 10 May 2017 17:01:27 -0700 > This patch fixes a bug in splitting an SKB during SACK > processing. Specifically if an skb contains multiple > packets and is only partially sacked in the higher sequences, > tcp_match_sack_to_skb() splits the skb and marks the second f

Re: [PATCH net] tcp: avoid fragmenting peculiar skbs in SACK

2017-05-10 Thread Neal Cardwell
On Wed, May 10, 2017 at 8:01 PM, Yuchung Cheng wrote: > > This patch fixes a bug in splitting an SKB during SACK > processing. Specifically if an skb contains multiple > packets and is only partially sacked in the higher sequences, > tcp_match_sack_to_skb() splits the skb and marks the second frag

[PATCH net] tcp: avoid fragmenting peculiar skbs in SACK

2017-05-10 Thread Yuchung Cheng
This patch fixes a bug in splitting an SKB during SACK processing. Specifically if an skb contains multiple packets and is only partially sacked in the higher sequences, tcp_match_sack_to_skb() splits the skb and marks the second fragment as SACKed. The current code further attempts rounding up th