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