]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6/multipath: remove flag NLM_F_EXCL after the first nexthop
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 1 Nov 2012 22:58:22 +0000 (22:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 01:38:19 +0000 (21:38 -0400)
commitcaf7c11197e400cc5199f5522f3896309647c68c
tree7dca5eafc784425519789e9651cbd3cac78f9760
parent37b1d3e9c5982babb90830e9509f8091c5764cd2
ipv6/multipath: remove flag NLM_F_EXCL after the first nexthop

fib6_add_rt2node() will reject the nexthop if this flag is set, so
we perform the check only for the first nexthop.

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