[Intel-wired-lan] [next PATCH S57 04/11] i40evf: free rings in remove function

Bowers, AndrewX andrewx.bowers at intel.com
Fri Dec 16 22:10:30 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, December 12, 2016 3:44 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S57 04/11] i40evf: free rings in remove
> function
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> When the i40evf_remove() calls netdev close, the device doesn't actually
> close - it schedules the work for the watchdog to perform. Since we're
> stopping the watchdog, this work doesn't get done. However, we're
> resetting the part, so we can free resources after the reset request has gone
> through. This plugs a memory leak.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Id5335dcaf76ce00d2a4c3d26e9faf711d7f051cf
> ---
> Testing Hints : Load/unload test
> 
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list