[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150924123329.GD10727@indiana.gru.redhat.com>
Date: Thu, 24 Sep 2015 09:33:30 -0300
From: Thadeu Lima de Souza Cascardo <cascardo@...hat.com>
To: Jiri Benc <jbenc@...hat.com>
Cc: netdev@...r.kernel.org, Thomas Graf <tgraf@...g.ch>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH net] lwtunnel: remove source and destination UDP port
config option
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 <jbenc@...hat.com>
> Acked-by: Thomas Graf <tgraf@...g.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 <cascardo@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists