]> Pileus Git - ~andy/linux/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)
commit52bd4c0c1551daa2efa7bb9e01a2f4ea6d1311bb
tree2324d5dbb005babd1085661734936724dd8f1630
parent5c29fb12e8fb8a8105ea048cb160fd79a85a52bb
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