]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: fix ecmp lookup when oif is specified
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 28 Jun 2013 15:35:48 +0000 (17:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 20:27:38 +0000 (13:27 -0700)
commit31d6550b9c6dc69049283985770ab1449641d9f6
tree2324d5dbb005babd1085661734936724dd8f1630
parent813880a45a8ddbd2445a395b53ffb4be3cc10297
ipv6: fix ecmp lookup when oif is specified

There is no reason to skip ECMP lookup when oif is specified, but this implies
to check oif given by user when selecting another route.
When the new route does not match oif requirement, we simply keep the initial
one.

Spotted-by: dingzhi <zhi.ding@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c