Date: Thu, 25 Feb 2021 12:31:17 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f5537cd0693c - main - bridgestp: Ensure we send STP on VLAN interfaces Message-ID: <202102251231.11PCVH5v013097@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f5537cd0693c85efdb2180a0a107c51eae15ba39 commit f5537cd0693c85efdb2180a0a107c51eae15ba39 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2021-02-24 15:38:53 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2021-02-25 09:16:25 +0000 bridgestp: Ensure we send STP on VLAN interfaces Reviewed by: donner@ MFC after: 1 week X-MFC-with: 711ed156b94562c3dcb2ee9c1b3f240f960a75d2 Sponsored by: Orange Business Services Differential Revision: https://reviews.freebsd.org/D28916 --- sys/net/bridgestp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index 82524440c241..9e3a3e14ecda 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -2052,7 +2052,7 @@ bstp_reinit(struct bstp_state *bs) */ NET_EPOCH_ENTER(et); CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { - if (ifp->if_type != IFT_ETHER) + if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) continue; /* Not Ethernet */ if (ifp->if_bridge != bridgeptr)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102251231.11PCVH5v013097>