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
F148978215: D25364.id73354.diff
Sat, Mar 21, 11:52 AM
Unknown Object (File)
Wed, Mar 18, 12:37 PM
Unknown Object (File)
Wed, Mar 18, 7:01 AM
Unknown Object (File)
Tue, Mar 17, 11:57 AM
Unknown Object (File)
Tue, Mar 17, 10:37 AM
Unknown Object (File)
Mon, Mar 16, 5:51 PM
Unknown Object (File)
Mon, Mar 16, 6:54 AM
Unknown Object (File)
Thu, Mar 12, 8:36 AM
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