vmxnet3s MAC callbacks erroneously return DDI_ return values
Device callbacks for the MAC module are expected to return 0 for success, and a positive non-zero error code (errno) on failure. The vmxnet3s driver's MAC callbacks currently only return DDI_SUCCESS or DDI_FAILURE. The fact that DDI_SUCCESS is 0 is a happy and harmless coincidence, but the lack of error codes could be problematic for diagnostic purposes.
Updated by Electric Monk over 3 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 6849994e8263545ed3c0f6f5676e47b38e14f63e Author: Sebastien Roy <email@example.com> Date: 2016-11-18T00:22:11.000Z 7582 vmxnet3s MAC callbacks erroneously return DDI_ return values 7583 vmxnet3s rx buffer allocations can result in system unresponsiveness Reviewed by: Pavel Zakharov <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Steve Gonczi <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>