On 06/03/16(Sun) 22:35, Mattieu Baptiste wrote:
> On Sun, Mar 6, 2016 at 10:22 PM, Martin Pieuchot <m...@openbsd.org> wrote:
> > On 06/03/16(Sun) 19:57, Mattieu Baptiste wrote:
> >> [...]
> >> As discussed in january, with the patches committed, -current still
> >> panics for me:
> >> http://www.brimbelle.org/mattieu/stuff/panic_statekey/panic10.jpg
> >> http://www.brimbelle.org/mattieu/stuff/panic_statekey/panic11.jpg
> >> http://www.brimbelle.org/mattieu/stuff/panic_statekey/panic12.jpg
> >>
> >> Here is a dmesg from the last time I built a kernel, before the
> >> patches were committed:
> >
> > Could you also paste the content of your /etc/hostname.* and "route -n show"
> > for this system?
> 
> Yes, sure:
> 
> $ cat /etc/hostname.bridge0
> add em0
> add re0
> up

Hahaha, my favorite!  Could you try the diff below and tell me if it
helps?

Index: if_bridge.c
===================================================================
RCS file: /cvs/src/sys/net/if_bridge.c,v
retrieving revision 1.275
diff -u -p -r1.275 if_bridge.c
--- if_bridge.c 5 Dec 2015 10:07:55 -0000       1.275
+++ if_bridge.c 6 Mar 2016 22:31:28 -0000
@@ -1861,6 +1861,10 @@ bridge_ifenqueue(struct bridge_softc *sc
 #endif /* NGIF */
        len = m->m_pkthdr.len;
 
+#if NPF > 0
+       pf_pkt_addr_changed(m);
+#endif
+
        error = if_enqueue(ifp, m);
        if (error) {
                sc->sc_if.if_oerrors++;

Reply via email to