[Intel-wired-lan] [V3: next PATCH S22 05/12] i40evf: check rings before freeing resources
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Nov 30 18:58:23 UTC 2015
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Deepthi Kavalur
> Sent: Thursday, November 19, 2015 11:34 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [V3: next PATCH S22 05/12] i40evf: check rings
> before freeing resources
>
> From: Mitch Williams <mitch.a.williams at intel.com>
>
> If the driver gets unloaded during reset recovery, it's possible that it will
> attempt to free resources when they're already free.
>
> Add a check to make sure that the tx and rx rings actually exist before
> dereferencing them to free resources.
>
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: I4d2b7e9ede49f634d421a4c5deaa5446bc755eee
> ---
> drivers/net/ethernet/intel/i40evf/i40evf_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied
More information about the Intel-wired-lan
mailing list