git: fe53a8a82c81 - main - bpf: add missing IFT_BRIDGE in the write method

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Fri, 19 Dec 2025 19:23:56 UTC
The branch main has been updated by glebius:

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

commit fe53a8a82c8185e332deb8e1926f0e137aeb2548
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-12-19 19:23:17 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-12-19 19:23:17 +0000

    bpf: add missing IFT_BRIDGE in the write method
    
    Fixes:  8774a990ee4094f16d596d4b78e0f3239e5d0c88
---
 sys/net/bpf_ifnet.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/net/bpf_ifnet.c b/sys/net/bpf_ifnet.c
index d4fd50bd3d8e..4123e9144fe8 100644
--- a/sys/net/bpf_ifnet.c
+++ b/sys/net/bpf_ifnet.c
@@ -89,6 +89,7 @@ bpf_ifnet_write(void *arg, struct mbuf *m, struct mbuf *mc, int flags)
 	/* DLT_EN10MB */
 	case IFT_ETHER:		/* if_ethersubr.c */
 	case IFT_L2VLAN:	/* vlan(4) */
+	case IFT_BRIDGE:	/* if_bridge(4) */
 	case IFT_IEEE8023ADLAG:	/* lagg(4) */
 	case IFT_INFINIBAND:	/* if_infiniband.c */
 	{