Page MenuHomeFreeBSD

ether: centralize fake hwaddr generation
ClosedPublic

Authored by kevans on Mar 13 2019, 5:24 PM.

Details

Summary

We currently have two places with identical fake hwaddr generation -- if_vxlan and if_bridge. Lift it into if_ethersubr for reuse in other interfaces that may also need a fake addr.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 23065

Event Timeline

kevans created this revision.Mar 13 2019, 5:24 PM
kp accepted this revision.Mar 13 2019, 7:49 PM
kp added a subscriber: kp.

LGTM.

This revision is now accepted and ready to land.Mar 13 2019, 7:49 PM
bryanv accepted this revision.Mar 14 2019, 3:48 AM
philip accepted this revision.Mar 14 2019, 4:36 AM
This revision was automatically updated to reflect the committed changes.