diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2015-03-31 03:45:01 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-04-03 06:54:29 -0400 |
commit | 8b6ed9c202c0c7c179ab7a6cf8010ff0b63d2d4f (patch) | |
tree | 7fdccc680c9de6f6d1f68112e56702f6d1644840 /drivers/net/can/sja1000 | |
parent | 1a2f62489b5dc15bd2aadb1de2e38f732e2c4553 (diff) |
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>
Diffstat (limited to 'drivers/net/can/sja1000')
0 files changed, 0 insertions, 0 deletions