Page MenuHomeFreeBSD

qlnxe: Remove a pointless copy back from the link-layer address
ClosedPublic

Authored by zlei on Jan 26 2026, 6:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 12, 2:08 PM
Unknown Object (File)
Wed, Aug 12, 2:01 PM
Unknown Object (File)
Sat, Aug 8, 8:38 PM
Unknown Object (File)
Thu, Aug 6, 12:26 PM
Unknown Object (File)
Tue, Aug 4, 1:30 AM
Unknown Object (File)
Sun, Aug 2, 1:27 AM
Unknown Object (File)
Sun, Aug 2, 1:23 AM
Unknown Object (File)
Sat, Aug 1, 4:36 AM
Subscribers

Details

Summary

On ifnet attaching, ether_ifattach() makes the link-layer address by
shadow copying the ha->primary_mac. Well the link-layer address will not
be altered during attaching, thus it is pointless to copy it back.

There should be no functional changes.

MFC after: 1 week

Diff Detail

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

Event Timeline

zlei requested review of this revision.Jan 26 2026, 6:20 AM
This revision is now accepted and ready to land.Feb 6 2026, 6:07 AM