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
F147884408: D54883.id170437.diff
Sat, Mar 14, 10:06 AM
F147884127: D54883.id170437.diff
Sat, Mar 14, 10:03 AM
Unknown Object (File)
Fri, Mar 13, 9:24 PM
Unknown Object (File)
Fri, Mar 13, 9:24 PM
Unknown Object (File)
Tue, Mar 10, 8:01 PM
Unknown Object (File)
Fri, Feb 20, 5:05 PM
Unknown Object (File)
Sat, Feb 14, 8:08 PM
Unknown Object (File)
Sat, Feb 14, 9:55 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