On 30/10/15(Fri) 23:30, Armin Wolfermann wrote:
> The simplest way to reproduce:
> 
>   ifconfig em0 192.168.1.1 up
>   ifconfig vlan10 vlan 10 vlandev em0 up
>   ifconfig bridge0 add em0 add vlan10 up

Thanks for your report, could you tell me if the diff below helps?

Index: net/if.c
===================================================================
RCS file: /cvs/src/sys/net/if.c,v
retrieving revision 1.401
diff -u -p -r1.401 if.c
--- net/if.c    2 Nov 2015 14:40:09 -0000       1.401
+++ net/if.c    2 Nov 2015 15:26:40 -0000
@@ -564,7 +564,6 @@ if_enqueue(struct ifnet *ifp, struct mbu
 #if NBRIDGE > 0
        if (ifp->if_bridgeport && (m->m_flags & M_PROTO1) == 0)
                return (bridge_output(ifp, m, NULL, NULL));
-       m->m_flags &= ~M_PROTO1;        /* Loop prevention */
 #endif
 
        length = m->m_pkthdr.len;

Reply via email to