i40e/i40evf: fix bug when skb allocation fails
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 31 Mar 2015 07:45:01 +0000 (00:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 10:54:29 +0000 (03:54 -0700)
commit8b6ed9c202c0c7c179ab7a6cf8010ff0b63d2d4f
tree7fdccc680c9de6f6d1f68112e56702f6d1644840
parent1a2f62489b5dc15bd2aadb1de2e38f732e2c4553
i40e/i40evf: fix bug when skb allocation fails

If the skb allocation fails we should not continue using the skb
pointer.  Breaking out at the point of failure means that at the next
RX interrupt the driver will try the allocation again.

Change-ID: Iefaad69856ced7418bfd92afe55322676341f82e
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c