Page MenuHomeFreeBSD

Fix invalid enqueue of NULL in bxe tx path
ClosedPublic

Authored by rstone on Jun 30 2016, 4:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 8 2024, 12:42 AM
Unknown Object (File)
Feb 28 2024, 4:36 AM
Unknown Object (File)
Jan 14 2024, 1:52 AM
Unknown Object (File)
Jan 10 2024, 1:48 AM
Unknown Object (File)
Dec 22 2023, 6:44 PM
Unknown Object (File)
Dec 22 2023, 6:44 PM
Unknown Object (File)
Nov 23 2023, 3:06 PM
Unknown Object (File)
Sep 1 2023, 3:50 AM
Subscribers

Details

Summary

bxe could incorrectly enqueue NULL on its buf_ring. Most places
in the driver explicitly test for this case and skip it the enqueue
when the mbuf, but one case missed it.

Test Plan

With INVARIANTS enabled, ran a test that stressed the tx path. Under
an overload condition NULL could be enqueued twice to the buf_ring,
leading to an kassert firing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rstone retitled this revision from to Fix invalid enqueue of NULL in bxe tx path.
rstone updated this object.
rstone edited the test plan for this revision. (Show Details)
rstone added a reviewer: davidcs.
This revision was automatically updated to reflect the committed changes.