[Intel-wired-lan] [next PATCH S52-V2 04/15] i40evf: protect against NULL msix_entries and q_vectors pointers
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Nov 16 19:24:10 UTC 2016
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Tuesday, November 08, 2016 1:05 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S52-V2 04/15] i40evf: protect against
> NULL msix_entries and q_vectors pointers
>
> From: Jacob Keller <jacob.e.keller at intel.com>
>
> Update the functions which free msix_entries and q_vectors so that they are
> safe against NULL values. This allows calling code to not care whether these
> have already been freed when disabling and freeing them.
>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: I31bfd1c0da18023d971b618edc6fb049721f3298
> ---
> drivers/net/ethernet/intel/i40evf/i40evf_main.c | 20 ++++++++++++++-----
> -
> 1 file changed, 14 insertions(+), 6 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list