Hi,

On Sat, 16 Jan 2016 09:00:49 -0200
"Wolfz" <[email protected]> wrote:
>                 I can see the packet vxlan arriving in destination but there
> is not return. Both directions is the same thing. I do the same test, same
> network with version 5.8 and is ok.

Can you try the diff below?

Index: sys/net/if_vxlan.c
===================================================================
RCS file: /cvs/src/sys/net/if_vxlan.c,v
retrieving revision 1.36
diff -u -p -r1.36 if_vxlan.c
--- sys/net/if_vxlan.c  14 Jan 2016 09:20:31 -0000      1.36
+++ sys/net/if_vxlan.c  18 Jan 2016 08:56:28 -0000
@@ -507,7 +507,7 @@ vxlan_lookup(struct mbuf *m, struct udph
                return (0);
 
        vni = ntohl(v.vxlan_id) >> VXLAN_VNI_S;
-       if ((v.vxlan_flags & htonl(VXLAN_FLAGS_VNI)) != 0) {
+       if ((v.vxlan_flags & htonl(VXLAN_FLAGS_VNI)) == 0) {
                if (vni != 0)
                        return (0);
 

Reply via email to