HomeFreeBSD

if_vlan: allow vlan and vlanproto to be changed

Description

if_vlan: allow vlan and vlanproto to be changed

It's currently not possible to change the vlan ID or vlan protocol (i.e.
802.1q vs. 802.1ad) without de-configuring the interface (i.e. ifconfig
vlanX -vlandev).
Add a specific flow for this, allowing both the protocol and id (but not
parent interface) to be changed without going through the '-vlandev'
step.

Reviewed by: glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D35846

Details

Provenance
kpAuthored on Jul 18 2022, 10:23 PM
Reviewer
glebius
Differential Revision
D35846: if_vlan: allow vlan and vlanproto to be changed
Parents
rG000321bab7be: namespace nv names, version libnv and libnvpair library symbols
Branches
Unknown
Tags
Unknown