Herbert Xu 3c05d92ed4 [TCP]: Compute in_sacked properly when we split up a TSO frame.
The problem is that the SACK fragmenting code may incorrectly call
tcp_fragment() with a length larger than the skb->len.  This happens
when the skb on the transmit queue completely falls to the LHS of the
SACK.

And add a BUG() check to tcp_fragment() so we can spot this kind of
error more quickly in the future.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-14 20:50:35 -07:00
..
2005-08-29 15:32:25 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:31:14 -07:00
2005-09-12 14:26:52 -07:00
2005-08-29 16:01:32 -07:00
2005-09-08 08:14:11 -07:00
2005-09-01 18:02:01 -04:00
2005-04-16 15:20:36 -07:00
2005-09-08 08:14:11 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00