commit | 14c5206c2d02495de995210d104cb7f084d82e2b | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Sun Jan 07 12:45:07 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 07 21:29:40 2018 -0500 |
tree | a813a9c576f4926781178c8aecc87ace8a0b4fd3 | |
parent | 5609b80a37f69f796548339e675256188b29c17d [diff] |
ipv6: Check nexthop flags during route lookup instead of carrier Now that the RTNH_F_LINKDOWN flag is set in nexthops, we can avoid the need to dereference the nexthop device and check its carrier and instead check for the presence of the flag. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>