From 6ba36a246ef58100ff3f31b0738e317cfab1f240 Mon Sep 17 00:00:00 2001 From: Mitch Williams Date: Fri, 1 Aug 2014 13:27:14 -0700 Subject: [PATCH] i40evf: fix memory leak on unused interfaces If the driver is loaded and then unloaded before the interface is brought up, then it will allocate a MAC filter entry and never free it. To fix this, on unload, run through the mac filter list and free all the entries. We also do this during reset recovery when the driver cannot contact the PF and needs to shut down completely. Change-ID: I15fabd67eb4a1bfc57605a7db60d0b5d819839db Signed-off-by: Mitch Williams Tested-by: Sibai Li Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-format-patch failed