Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2021 09:33:22 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: 772b39d6309b - stable/13 - bridgestp: Ensure we send STP on VLAN interfaces
Message-ID:  <202103040933.1249XMah006001@gitrepo.freebsd.org>

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

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

commit 772b39d6309b1d62934870869e65f5334f6af79c
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:13 +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 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?202103040933.1249XMah006001>