The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=12a1baa42bd0b2ed7b5c6a8b0807fd50929a8799
commit 12a1baa42bd0b2ed7b5c6a8b0807fd50929a8799 Author: Zhenlei Huang <z...@freebsd.org> AuthorDate: 2025-06-16 14:35:40 +0000 Commit: Zhenlei Huang <z...@freebsd.org> CommitDate: 2025-07-08 10:03:28 +0000 bridge: Remove a redundant assignment of if_type ether_ifattach() no longer sets if_type to IFT_ETHER and keeps it as is since the change [1]. [1] fc74a9f93a5f Stop embedding struct ifnet at the top of driver softcs No functional change intended. MFC after: 1 week (cherry picked from commit a07604e6264b88222941fa61c6f989bad5490765) (cherry picked from commit 193f0bde3b048559d36c3e6db5d6b2be7daeaf6f) --- sys/net/if_bridge.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index b385772bdf73..e7c98958d2b1 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -785,7 +785,6 @@ bridge_clone_create(struct if_clone *ifc, int unit, caddr_t params) ether_ifattach(ifp, sc->sc_defaddr.octet); /* Now undo some of the damage... */ ifp->if_baudrate = 0; - ifp->if_type = IFT_BRIDGE; #ifdef VIMAGE ifp->if_reassign = bridge_reassign; #endif