Page MenuHomeFreeBSD

oce(4): Account and trace mbufs before handing to hw
ClosedPublic

Authored by cem on Jun 19 2020, 8:50 PM.
Tags
None
Referenced Files
F159957377: D25364.id73398.diff
Fri, Jun 19, 10:27 PM
Unknown Object (File)
Fri, Jun 12, 8:03 PM
Unknown Object (File)
Fri, Jun 12, 12:41 PM
Unknown Object (File)
Thu, May 21, 10:21 AM
Unknown Object (File)
May 20 2026, 8:49 AM
Unknown Object (File)
May 17 2026, 9:40 AM
Unknown Object (File)
May 17 2026, 5:16 AM
Unknown Object (File)
May 16 2026, 5:37 PM
Subscribers

Details

Summary

Once tx mbufs have been handed to hardware, nothing serializes the tx
path against completion and potential use-after-free of the outbound
mbuf. Perform accounting and BPF tap before queueing to hardware to
avoid this race.

Submitted by: Steve Wirtz <steve_wirtz AT dell.com>

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31835
Build 29395: arc lint + arc unit