[Intel-wired-lan] [next PATCH 01/11] ixgbe: Return error on failure to allocate mac_table

Schmitt, Phillip J phillip.j.schmitt at intel.com
Thu Dec 10 22:51:49 UTC 2015



> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Monday, November 02, 2015 5:09 PM
> To: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH 01/11] ixgbe: Return error on failure to
> allocate mac_table
> 
> Add a check to make certain mac_table was actually allocated and is not NULL.
> If it is NULL return -ENOMEM and allow the probe routine to fail rather then
> causing a NULL pointer dereference further down the line.
> 
> Signed-off-by: Alexander Duyck <aduyck at mirantis.com>

Tested-by: Phil Schmitt <phillip.j.schmitt at intel.com>



More information about the Intel-wired-lan mailing list