summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-07-13 01:46:33 +0400
committerDavid S. Miller <davem@davemloft.net>2013-07-13 03:29:54 +0400
commit307f2fb95e9b96b3577916e73d92e104f8f26494 (patch)
tree7e39923fb1915bfeb1532eabcae35dd150a91f29 /arch/s390
parent9b4fe5fb0bdd8f31f24cbfe77e38ec8155c250c5 (diff)
downloadlinux-307f2fb95e9b96b3577916e73d92e104f8f26494.tar.xz
ipv6: only static routes qualify for equal cost multipathing
Static routes in this case are non-expiring routes which did not get configured by autoconf or by icmpv6 redirects. To make sure we actually get an ecmp route while searching for the first one in this fib6_node's leafs, also make sure it matches the ecmp route assumptions. v2: a) Removed RTF_EXPIRE check in dst.from chain. The check of RTF_ADDRCONF already ensures that this route, even if added again without RTF_EXPIRES (in case of a RA announcement with infinite timeout), does not cause the rt6i_nsiblings logic to go wrong if a later RA updates the expiration time later. v3: a) Allow RTF_EXPIRES routes to enter the ecmp route set. We have to do so, because an pmtu event could update the RTF_EXPIRES flag and we would not count this route, if another route joins this set. We now filter only for RTF_GATEWAY|RTF_ADDRCONF|RTF_DYNAMIC, which are flags that don't get changed after rt6_info construction. Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions