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, Mar 23, 11:21 PM
Unknown Object (File)
Mar 16 2024, 5:53 AM
Unknown Object (File)
Mar 7 2024, 11:48 PM
Unknown Object (File)
Jan 11 2024, 1:20 AM
Unknown Object (File)
Dec 23 2023, 1:33 AM
Unknown Object (File)
Dec 22 2023, 11:11 PM
Unknown Object (File)
Dec 13 2023, 4:12 PM
Unknown Object (File)
Oct 28 2023, 10:08 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