> -----Original Message----- > From: Intel-wired-lan [mailto:[email protected]] On > Behalf Of Alexander Duyck > Sent: Monday, November 02, 2015 5:09 PM > To: [email protected]; [email protected] > 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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
