Page MenuHomeFreeBSD

netlink/route: Support modifying IFLA_ADDRESS with RTM_NEWLINK
ClosedPublic

Authored by saheed on Aug 15 2025, 7:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 11, 12:45 AM
Unknown Object (File)
Sat, Jan 10, 12:41 PM
Unknown Object (File)
Sat, Jan 10, 8:09 AM
Unknown Object (File)
Sat, Jan 10, 5:01 AM
Unknown Object (File)
Sat, Jan 10, 4:53 AM
Unknown Object (File)
Sat, Jan 10, 4:40 AM
Unknown Object (File)
Fri, Jan 9, 6:52 PM
Unknown Object (File)
Mon, Dec 22, 11:28 PM

Details

Summary

Allows setting link-layer address (MAC) by specifying the IFLA_ADDRESS
attribute on RTM_NEWLINK requests.

Sponsored by: Google LLC (GSoC)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 66462
Build 63345: arc lint + arc unit

Event Timeline

looks perfect :)

sys/netlink/route/iface_drivers.c
114–115

if_setlladdr can return multiple error codes, could be useful to include this in the error message

This revision is now accepted and ready to land.Aug 17 2025, 12:11 AM

Include if_setlladdr error code in err_msg

This revision now requires review to proceed.Aug 22 2025, 5:40 PM
This revision is now accepted and ready to land.Aug 23 2025, 11:55 AM
mckusick added a subscriber: mckusick.

Mentor approval.