[Intel-wired-lan] [next PATCH S23 10/13] i40evf: null out ring pointers on free
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Dec 17 16:58:10 UTC 2015
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joshua Hay
> Sent: Wednesday, December 09, 2015 3:51 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S23 10/13] i40evf: null out ring
> pointers on free
>
> From: Mitch Williams <mitch.a.williams at intel.com>
>
> Since we check these ring pointers to make sure we don't double-allocate or
> double-free the rings, we had better null them out after we free them. In
> very rare cases this can cause a panic if the driver is removed during reset
> recovery.
>
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Ib06eb4910a3058275c8f7ec5ef7f45baa4674f96
> ---
> drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 ++
> 1 file changed, 2 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied
More information about the Intel-wired-lan
mailing list