diff options
| author | Alexander Duyck <[email protected]> | 2015-11-02 17:09:29 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2015-12-12 00:44:18 -0800 |
| commit | 530fd82a9fea5bba8e044bdf6fdf2ddc495e3807 (patch) | |
| tree | 609976af73b62c4601792ddc1be5527646e3f6d6 /tools/perf/scripts/python/sched-migration.py | |
| parent | 9ad321b0b6de666814e3950c963387d116bfe3d1 (diff) | |
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]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions