Page MenuHomeFreeBSD

if_vtnet: Defer updating generated MAC address until attached
ClosedPublic

Authored by bryanv on Jan 2 2021, 8:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 28 2023, 1:24 PM
Unknown Object (File)
Dec 20 2023, 7:35 PM
Unknown Object (File)
Dec 20 2023, 3:18 AM
Unknown Object (File)
Nov 11 2023, 11:41 AM
Unknown Object (File)
Nov 9 2023, 7:29 PM
Unknown Object (File)
Nov 8 2023, 1:19 PM
Unknown Object (File)
Nov 8 2023, 12:16 AM
Unknown Object (File)
Nov 1 2023, 4:02 PM
Subscribers

Details

Summary

This improves spec compliance because the driver is not suppose
to notify the device prior to setting the DRIVER_OK status, which
could happen with the VIRTIO_NET_F_CTRL_MAC_ADDR.

The VIRTIO_NET_F_MAC feature should always be negotiated so would
be a rare situation.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35875
Build 32764: arc lint + arc unit

Event Timeline

bryanv held this revision as a draft.
bryanv published this revision for review.Jan 2 2021, 10:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2021, 5:11 AM
This revision was automatically updated to reflect the committed changes.