On Mon, 28 Sep 2015 15:20:33 -0400, John W. Linville wrote: > > To be really useful, geneve should open both IPv4 and IPv6 socket when > > it's metadata based. Take a look at my recent patchset that does this > > for vxlan: http://thread.gmane.org/gmane.linux.network/379282 > > OK, that seems simple enough. So we should just assume that a metadata > tunnel could do either protocol at any time? Or are there more rules > than that?
That should be it, on egress. On ingress, udp_tun_rx_dst needs to be called with the appropriate family which seems to be missing from your patch, too (there's AF_INET unconditionally, currently). Jiri -- Jiri Benc -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html