summaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2014-08-01 13:27:14 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-02 19:41:15 -0700
commit6ba36a246ef58100ff3f31b0738e317cfab1f240 (patch)
tree4562184f83685780216c78940ec372ff53fd1520 /lib/cpu-notifier-error-inject.c
parentd31944d6f0872ba9536501c4850dfb20dea5bf64 (diff)
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 <mitch.a.williams@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions