Re: [PATCH] ipv6: fix ecmp lookup on forwarding path
From: David Miller <davem@davemloft.net>
Date: 2013-06-14 00:38:30
From: David Miller <davem@davemloft.net>
Date: 2013-06-14 00:38:30
From: Nicolas Dichtel <redacted> Date: Thu, 13 Jun 2013 16:04:55 +0200
From: dingzhi <redacted> There is no reason to skip ECMP lookup when oif is specified. For example, when a packet is forwarded, the input interface is specified. Signed-off-by: dingzhi <redacted> Signed-off-by: Nicolas Dichtel <redacted>
There is no way this is valid. The multipath code makes no attempt to choose a route that goes via the interface that matches the one the user asked for in the flow key. We must absolutely respect the OIF in the flow key during the route lookup, this means no multipath until that code is changed to strictly respect the OIF in the lookup key. Otherwise what's the point of the OIF if you're going to pick a route that doesn't match it? I'm not apply this patch, sorry.