On Thu, Sep 24, 2015 at 10:43:07AM +0200, Jiri Benc wrote: > The UDP tunnel config is asymmetric wrt. to the ports used. The source and > destination ports from one direction of the tunnel are not related to the > ports of the other direction. We need to be able to respond to ARP requests > using the correct ports without involving routing. > > As the consequence, UDP ports need to be fixed property of the tunnel > interface and cannot be set per route. Remove the ability to set ports per > route. This is still okay to do, as no kernel has been released with these > attributes yet. > > Note that the ability to specify source and destination ports is preserved > for other users of the lwtunnel API which don't use routes for tunnel key > specification (like openvswitch). > > If in the future we rework ARP handling to allow port specification, the > attributes can be added back. > > Signed-off-by: Jiri Benc <jb...@redhat.com> > Acked-by: Thomas Graf <tg...@suug.ch> > --- > Resending what was formerly patch 2/2 of the "lwtunnel: make it really work, > for IPv4" series, without change. This patch can be applied standalone and > is rather important before the uAPI is set in stone. > ---
Acked-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com> -- 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