summaryrefslogtreecommitdiff
path: root/net/smc/smc_diag.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-11-21 09:50:12 +0200
committerDavid S. Miller <davem@davemloft.net>2017-11-24 01:26:47 +0900
commitbbfcd77631573ac4a9f57eb6169e04256a111bc1 (patch)
treec2652284123d238682df8993808cfda8f068112a /net/smc/smc_diag.c
parentd7aa04a5e82b4f254d306926c81eae8df69e5200 (diff)
ipv6: Do not consider linkdown nexthops during multipath
When the 'ignore_routes_with_linkdown' sysctl is set, we should not consider linkdown nexthops during route lookup. While the code correctly verifies that the initially selected route ('match') has a carrier, it does not perform the same check in the subsequent multipath selection, resulting in a potential packet loss. In case the chosen route does not have a carrier and the sysctl is set, choose the initially selected route. Fixes: 35103d11173b ("net: ipv6 sysctl option to ignore routes when nexthop link is down") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Acked-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_diag.c')
0 files changed, 0 insertions, 0 deletions