diff options
| author | Mitch Williams <[email protected]> | 2013-09-28 07:13:13 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-10-22 12:33:43 +0000 |
| commit | 00403f0488e9082a3744376c821ad241cdc47e70 (patch) | |
| tree | bd8b6ddd7937ecde8c53ff5577a9a4a3ba604d30 /fs/btrfs/dev-replace.c | |
| parent | i40e: do not flush after re-enabling interrupts (diff) | |
| download | kernel-00403f0488e9082a3744376c821ad241cdc47e70.tar.gz kernel-00403f0488e9082a3744376c821ad241cdc47e70.zip | |
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 <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Sibai Li <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
