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.6-rc2~24^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1485348d2424e1131ea42efc033cbd9366462b01;p=pandora-kernel.git tcp: Apply device TSO segment limit earlier 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 --- Reading git-diff-tree failed