From: Ben Hutchings Date: Tue, 10 Feb 2015 00:05:18 +0000 (+0000) Subject: Revert "tcp: Apply device TSO segment limit earlier" X-Git-Tag: v3.2.67~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=649917478f4c580f6c0a46c99ebff7381581530b;p=pandora-kernel.git Revert "tcp: Apply device TSO segment limit earlier" This reverts commit 9f871e883277cc22c6217db806376dce52401a31, which was commit 1485348d2424e1131ea42efc033cbd9366462b01 upstream. It can cause connections to stall when a PMTU event occurs. This was fixed by commit 843925f33fcc ("tcp: Do not apply TSO segment limit to non-TSO packets") upstream, but that depends on other changes to TSO. The original issue this fixed was a performance regression for the sfc driver in extreme cases of TSO (skb with > 100 segments). This is not really very important and it seems best to revert it rather than try to fix it up. Signed-off-by: Ben Hutchings Cc: Herbert Xu Cc: netdev@vger.kernel.org Cc: linux-net-drivers@solarflare.com --- Reading git-diff-tree failed