From: Lendacky, Thomas Date: Thu, 6 Nov 2014 23:02:19 +0000 (-0600) Subject: amd-xgbe: Check for complete packet on skb allocation error X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~251^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5eecbbef0b7d28b171b3b873e1e4a69aabd7b58;p=pandora-kernel.git amd-xgbe: Check for complete packet on skb allocation error If the skb allocation fails during receive processing, the driver would continue reading descriptors without first determining if there were any more descriptors for the current packet. Update the code to check whether more descriptors are associated with the current packet or whether to move on to the next descriptor as a new packet. Signed-off-by: Tom Lendacky Signed-off-by: David S. Miller --- Reading git-diff-tree failed