Page MenuHomeFreeBSD

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

Authored by zlei on Mon, Jan 26, 6:20 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sat, Feb 14, 9:55 AM
Unknown Object (File)
Wed, Feb 11, 2:40 AM
Unknown Object (File)
Sun, Feb 8, 11:27 PM
Unknown Object (File)
Sun, Feb 8, 1:19 AM
Unknown Object (File)
Wed, Feb 4, 2:27 PM
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.Mon, Jan 26, 6:20 AM
This revision is now accepted and ready to land.Fri, Feb 6, 6:07 AM