[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150818.191135.1217710280336001449.davem@davemloft.net>
Date: Tue, 18 Aug 2015 19:11:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...hat.com
Cc: netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [PATCH net-next] lwtunnel: ip tunnel: fix multiple routes with
different encap
From: Jiri Benc <jbenc@...hat.com>
Date: Tue, 18 Aug 2015 18:42:09 +0200
> Currently, two routes going through the same tunnel interface are considered
> the same even when they are routed to a different host after encapsulation.
> This causes all routes added after the first one to have incorrect
> encapsulation parameters.
>
> This is nicely visible by doing:
>
> # ip r a 192.168.1.2/32 dev vxlan0 tunnel dst 10.0.0.2
> # ip r a 192.168.1.3/32 dev vxlan0 tunnel dst 10.0.0.3
> # ip r
> [...]
> 192.168.1.2/32 tunnel id 0 src 0.0.0.0 dst 10.0.0.2 [...]
> 192.168.1.3/32 tunnel id 0 src 0.0.0.0 dst 10.0.0.2 [...]
>
> Implement the missing comparison function.
>
> Fixes: 3093fbe7ff4bc ("route: Per route IP tunnel metadata via lightweight tunnel")
> Signed-off-by: Jiri Benc <jbenc@...hat.com>
Applied.
--
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