ixgbe: Return error on failure to allocate mac_table
Orabug:
23177316
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@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit
530fd82a9fea5bba8e044bdf6fdf2ddc495e3807)
Signed-off-by: Brian Maly <brian.maly@oracle.com>