From: Mitch Williams Date: Sat, 28 Sep 2013 07:13:13 +0000 (+0000) Subject: i40e: don't free nonexistent rings X-Git-Tag: v3.13-rc1~105^2~141^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00403f0488e9082a3744376c821ad241cdc47e70;p=pandora-kernel.git 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 Signed-off-by: Jesse Brandeburg Tested-by: Sibai Li Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed