On 09/04/20(Thu) 16:10, Massimiliano Stucchi wrote:
> >Synopsis:    Crash while using ospfd over vxlan
> >Category:    bug
> >Environment:
>       System      : OpenBSD 6.6
>       Details     : OpenBSD 6.6 (GENERIC.MP) #5: Sun Feb 16 01:56:11 MST 2020
>                       
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>       Setting up an OSPF session over VXLAN leads to a kernel crash
> >How-To-Repeat:
> 
> I have setup an ospf session over a vxlan interface.  When this is up,
> it takes about 2-3 minutes for the crash to consistently happen.
> 
> No other action is necessary.
> 
> At this address:
> 
> https://max.stucchi.ch/bugreport/
> 
> you can find screenshots from the ddb prompt, including a full trace.
> 
> If needed, I can also provide access to the console.

It's a recursion.  I don't know anything about vxlan(4) or how the
encapsulation works but the following happens at least 10 times:

        ...
        vxlan_lookup()
        udp_input()
        ip_deliver()
        ip_ours()
        ip_input_if()
        ipv4_input()
        ether_input()
        if_vinput()
        vxlan_lookup()
        ...

Maybe you can share your setup (vxlan config, ospf config, etc) so
somebody can try to reproduce and fix it.

Reply via email to