Page MenuHomeFreeBSD

urndis: avoid KMSAN report
Needs ReviewPublic

Authored by chs on Thu, Sep 24, 12:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 4:43 PM
Unknown Object (File)
Thu, Sep 24, 4:30 PM
Unknown Object (File)
Thu, Sep 24, 3:56 PM
Unknown Object (File)
Thu, Sep 24, 3:50 PM
Unknown Object (File)
Thu, Sep 24, 3:39 PM
Unknown Object (File)
Thu, Sep 24, 1:22 PM
Unknown Object (File)
Thu, Sep 24, 9:17 AM
Unknown Object (File)
Thu, Sep 24, 9:04 AM
Subscribers
None

Details

Reviewers
imp
Summary

in urndis_attach(), keep KMSAN happy by zeroing the entire structure
that we send to the device to fetch the MAC address, rather than
only initializing the MAC address return buffer. Found with KMSAN.

Sponsored by: Netflix
Assisted-By: Claude Code - Opus 5 (1M context)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77239
Build 74122: arc lint + arc unit