[ovs-dev] [PATCH v2 net-next 06/13] route: move lwtunnel state to dst_entry

Thomas Graf tgraf at suug.ch
Wed Aug 19 16:38:31 UTC 2015


On 08/19/15 at 12:09pm, Jiri Benc wrote:
> Currently, the lwtunnel state resides in per-protocol data. This is
> a problem if we encapsulate ipv6 traffic in an ipv4 tunnel (or vice versa).
> The xmit function of the tunnel does not know whether the packet has been
> routed to it by ipv4 or ipv6, yet it needs the lwtstate data. Moving the
> lwtstate data to dst_entry makes such inter-protocol tunneling possible.
> 
> As a bonus, this brings a nice diffstat.
> 
> Signed-off-by: Jiri Benc <jbenc at redhat.com>
> Acked-by: Roopa Prabhu <roopa at cumulusnetworks.com>

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the dev mailing list