Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2021 09:33:21 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e7705585fed8 - stable/12 - bridgestp: Ensure we send STP on VLAN interfaces
Message-ID:  <202103040933.1249XL6Y005905@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=e7705585fed8ef9612388729a4e3247ceed3f038

commit e7705585fed8ef9612388729a4e3247ceed3f038
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-02-24 15:38:53 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-03-04 09:30:26 +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
    
    (cherry picked from commit f5537cd0693c85efdb2180a0a107c51eae15ba39)
---
 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 d0259c37bf84..4be8e2f20819 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -2046,7 +2046,7 @@ bstp_reinit(struct bstp_state *bs)
 	 */
 	IFNET_RLOCK_NOSLEEP();
 	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?202103040933.1249XL6Y005905>