]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Check nexthop flags in route dump instead of carrier
authorIdo Schimmel <idosch@mellanox.com>
Sun, 7 Jan 2018 10:45:08 +0000 (12:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 02:29:40 +0000 (21:29 -0500)
commitb8be9b88f913fd6271b5db9024cc77eacce6cf17
treea0404bca9a5b7f5e5c996a0fbf5e519760281f9f
parent39ca0a6dcea8a7094321554ec0e418850401f9ee
ipv6: Check nexthop flags in route dump instead of carrier

Similar to previous patch, there is no need to check for the carrier of
the nexthop device when dumping the route and we can instead check for
the presence of the RTNH_F_LINKDOWN 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>
net/ipv6/route.c