ipv6: Report dead flag during route dump
commitf9d882ea5705cf03f547e75ac515f1457c89f526
authorIdo Schimmel <idosch@mellanox.com>
Sun, 7 Jan 2018 10:45:10 +0000 (7 12:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 02:29:40 +0000 (7 21:29 -0500)
tree3fa969d093521a34e3e0b4af8bd7aafd54714997
parent8067bb8c1d3599e137dee445d65b64db90ebc6f5
ipv6: Report dead flag during route dump

Up until now the RTNH_F_DEAD flag was only reported in route dump when
the 'ignore_routes_with_linkdown' sysctl was set. This is expected as
dead routes were flushed otherwise.

The reliance on this sysctl is going to be removed, so we need to report
the flag regardless of the sysctl's value.

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