From: Herbert Xu Date: Thu, 15 Sep 2005 03:50:35 +0000 (-0700) Subject: [TCP]: Compute in_sacked properly when we split up a TSO frame. X-Git-Tag: v2.6.14-rc2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c05d92ed49f644d1f5a960fa48637d63b946016;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed