summaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-11-07 02:02:19 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-07 03:00:15 +0300
commitf5eecbbef0b7d28b171b3b873e1e4a69aabd7b58 (patch)
treebfda906e32b1522b4d1c051cf207adb6ca7138f8 /drivers/lguest
parente98c72c94205c59745f9ed0ac2837d5b83084a46 (diff)
downloadlinux-f5eecbbef0b7d28b171b3b873e1e4a69aabd7b58.tar.xz
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 <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions