9601 Divide by zero in i40e_get_available_resources()

Review Request #1116 - Created June 19, 2018 and updated

Information
Marcel Telka
illumos-gate
master
9601
be5c6dc...
Reviewers
general
This fixes the num_ports calculation in the i40e driver.  Without this fix we
sometimes (at least with the hardware where I tested this on) found more
ethernet ports than we actually have (four instead of two) and this lead to
panic later in the driver.
I tested this on a hardware where the original driver paniced.  With the fix
the driver does not panic and it works properly.

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Robert Mustacchi
Ken Mays
Simon Klinkert
Ken Mays
Marcel Telka
John Levon
Robert Mustacchi
Marcel Telka
Review request changed

Change Summary:

Updated README.illumos as suggested by Robert.

Commit:

-a65a34f2e7d7d922e92a915022fb1e109e91c989
+be5c6dcdd48e8eef8a37125975872e74c501b9eb

Diff:

Revision 3 (+101 -6)

Show changes

Robert Mustacchi
Ship It!
Loading...