Page MenuHomeFreeBSD

cxgbe: Mark rx'ed packets as initialized for KMSAN
ClosedPublic

Authored by markj on Sep 24 2021, 3:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 2:00 AM
Unknown Object (File)
Sat, Nov 29, 1:34 AM
Unknown Object (File)
Thu, Nov 20, 10:31 PM
Unknown Object (File)
Mon, Nov 17, 1:57 PM
Unknown Object (File)
Mon, Nov 17, 9:29 AM
Unknown Object (File)
Nov 13 2025, 3:19 AM
Unknown Object (File)
Nov 9 2025, 6:25 AM
Unknown Object (File)
Nov 6 2025, 8:33 PM
Subscribers

Details

Summary

The KMSAN runtime needs to have its shadow maps updated when devices
update host memory, otherwise it assumes that device-populated memory is
uninitialized. For most drivers this is handled transparently by
busdma, but cxgbe doesn't make use of dma maps for receive buffers.

Reported by: mjg

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable