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)
Sat, Jun 8, 3:06 AM
Unknown Object (File)
Fri, Jun 7, 1:47 AM
Unknown Object (File)
Mon, Jun 3, 11:34 AM
Unknown Object (File)
May 10 2024, 1:30 AM
Unknown Object (File)
May 2 2024, 9:17 PM
Unknown Object (File)
May 2 2024, 9:35 AM
Unknown Object (File)
Apr 19 2024, 7:36 PM
Unknown Object (File)
Mar 23 2024, 11:21 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