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
F132436925: D25364.id73354.diff
Thu, Oct 16, 10:44 PM
Unknown Object (File)
Sat, Oct 11, 3:03 AM
Unknown Object (File)
Mon, Oct 6, 7:57 PM
Unknown Object (File)
Sat, Oct 4, 11:56 PM
Unknown Object (File)
Sat, Oct 4, 3:13 AM
Unknown Object (File)
Sat, Sep 27, 4:30 PM
Unknown Object (File)
Sat, Sep 27, 11:00 AM
Unknown Object (File)
Sat, Sep 27, 6:59 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