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
F159631241: D54883.id171356.diff
Tue, Jun 16, 11:30 AM
Unknown Object (File)
Sat, Jun 13, 3:09 AM
Unknown Object (File)
Thu, Jun 4, 7:47 AM
Unknown Object (File)
Thu, Jun 4, 1:49 AM
Unknown Object (File)
Wed, Jun 3, 1:15 PM
Unknown Object (File)
May 16 2026, 12:28 PM
Unknown Object (File)
May 14 2026, 3:46 PM
Unknown Object (File)
May 14 2026, 3:59 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