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
F156557182: D51922.id160886.diff
Thu, May 14, 3:57 PM
F156555942: D51922.id160832.diff
Thu, May 14, 3:42 PM
F156554313: D51922.id160407.diff
Thu, May 14, 3:24 PM
F156542732: D51922.diff
Thu, May 14, 1:28 PM
F156472930: D51922.id.diff
Wed, May 13, 10:13 PM
F156433466: D51922.id160886.diff
Wed, May 13, 4:37 PM
Unknown Object (File)
Mon, May 11, 8:56 PM
Unknown Object (File)
Sun, May 10, 6:32 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 Not Applicable
Unit
Tests Not Applicable

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.