From: Ben Hutchings Date: Mon, 30 Jul 2012 16:11:42 +0000 (+0000) Subject: tcp: Apply device TSO segment limit earlier X-Git-Tag: v3.2.30~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f871e883277cc22c6217db806376dce52401a31;p=pandora-kernel.git tcp: Apply device TSO segment limit earlier [ Upstream commit 1485348d2424e1131ea42efc033cbd9366462b01 ] Cache the device gso_max_segs in sock::sk_gso_max_segs and use it to limit the size of TSO skbs. This avoids the need to fall back to software GSO for local TCP senders. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed