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
Unknown Object (File)
Sun, Nov 16, 12:08 PM
Unknown Object (File)
Fri, Oct 31, 11:29 AM
Unknown Object (File)
Oct 16 2025, 10:44 PM
Unknown Object (File)
Oct 11 2025, 3:03 AM
Unknown Object (File)
Oct 6 2025, 7:57 PM
Unknown Object (File)
Oct 4 2025, 11:56 PM
Unknown Object (File)
Oct 4 2025, 3:13 AM
Unknown Object (File)
Sep 27 2025, 4:30 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

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