From: Alexander Duyck Date: Sat, 17 Mar 2012 02:39:16 +0000 (+0000) Subject: ixgbe: Fix a memory leak in IEEE DCB X-Git-Tag: v3.4-rc6~23^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b1588c3fafc3fd2b3bc49202a380eaecbbc2193;p=pandora-kernel.git ixgbe: Fix a memory leak in IEEE DCB The driver was freeing memory in shutdown instead of remove. As a result we were leaking memory if IEEE DCB was enabled and we loaded/unloaded the driver. This change moves the freeing of the memory into the remove routine where it belongs. Signed-off-by: Alexander Duyck Acked-by: John Fastabend Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed