commit | 00403f0488e9082a3744376c821ad241cdc47e70 | [log] [tgz] |
---|---|---|
author | Mitch Williams <mitch.a.williams@intel.com> | Sat Sep 28 07:13:13 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Oct 22 05:33:43 2013 -0700 |
tree | bd8b6ddd7937ecde8c53ff5577a9a4a3ba604d30 | |
parent | 1022cb6c35a8c815549566473504ac5feb0b5889 [diff] |
i40e: don't free nonexistent rings Not all VSIs have rings! Check to see if rings were actually allocated before freeing them. This prevents a panic when tx_rings[0] is not allocated. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>