bridge: Support STP on VLAN devices
authorKristof Provost <kp@FreeBSD.org>
Sat, 20 Feb 2021 09:11:30 +0000 (10:11 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 23 Feb 2021 12:54:06 +0000 (13:54 +0100)
commit711ed156b94562c3dcb2ee9c1b3f240f960a75d2
tree980e26cb748fe018a465ee25304b54ae45fb745b
parentd27999e51396b301d83bb7d6cdd51f6d6f4fff2d
bridge: Support STP on VLAN devices

VLAN devices have type IFT_L2VLAN, so the STP code mistakenly believed
they couldn't be used for STP. That's not the case, so add the
ITF_L2VLAN to the check.

Reviewed by: donner@
MFC after: 1 week
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D28857
sys/net/bridgestp.c