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
F132422016: D27910.id82537.diff
Thu, Oct 16, 7:27 PM
Unknown Object (File)
Wed, Oct 8, 11:12 AM
Unknown Object (File)
Thu, Oct 2, 5:55 PM
Unknown Object (File)
Wed, Oct 1, 7:39 PM
Unknown Object (File)
Wed, Oct 1, 5:25 PM
Unknown Object (File)
Mon, Sep 22, 2:07 PM
Unknown Object (File)
Mon, Sep 22, 2:07 PM
Unknown Object (File)
Sun, Sep 21, 9:24 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.