From: Michael Chan Date: Mon, 12 May 2014 03:22:54 +0000 (-0700) Subject: tg3: Prevent page allocation failure during TSO workaround X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~236^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f6f3a1d818410c17445bce4f4caab52eb102f1;p=pandora-kernel.git tg3: Prevent page allocation failure during TSO workaround If any TSO fragment hits hardware bug conditions (e.g. 4G boundary), the driver will workaround by calling skb_copy() to copy to a linear SKB. Users have reported page allocation failures as the TSO packet can be up to 64K. Copying such a large packet is also very inefficient. We fix this by using existing tg3_tso_bug() to transmit the packet using GSO. Signed-off-by: Prashant Sreedharan Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed