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)
Mon, Sep 7, 5:27 PM
Unknown Object (File)
Mon, Sep 7, 4:42 AM
Unknown Object (File)
Mon, Sep 7, 12:05 AM
Unknown Object (File)
Sun, Sep 6, 8:43 AM
Unknown Object (File)
Mon, Aug 24, 5:05 PM
Unknown Object (File)
Wed, Aug 12, 6:27 AM
Unknown Object (File)
Aug 10 2026, 7:20 PM
Unknown Object (File)
Aug 9 2026, 3:35 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