From: Mitch Williams Date: Fri, 1 Aug 2014 20:27:13 +0000 (-0700) Subject: i40evf: don't leak queue vectors X-Git-Tag: cleanup-for-v3.18~108^2~25^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d31944d6f0872ba9536501c4850dfb20dea5bf64;p=pandora-kernel.git i40evf: don't leak queue vectors Fix a memory leak. Driver was allocating memory for queue vectors on init but not freeing them on shutdown. These need to be freed at two different times: during module unload, and during reset recovery when the driver cannot contact the PF driver and needs to give up. Change-ID: I7c1d0157a776e960d4da432dfe309035aad7c670 Signed-off-by: Mitch Williams Tested-by: Sibai Li Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed