net: track link status of ipv6 nexthops
authorAndy Gospodarek <gospo@cumulusnetworks.com>
Thu, 13 Aug 2015 14:39:00 +0000 (10:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2015 04:27:18 +0000 (21:27 -0700)
commitcea45e208d700e9d633a636384a49f19cda979b7
tree7514f98b95676e6b423f150158754aa2b1f43262
parent8e3d04fd7d70679eed631ba5889f81b2d9415404
net: track link status of ipv6 nexthops

Add support to track current link status of ipv6 nexthops to match
recent changes that added support for ipv4 nexthops.  This takes a
simple approach to track linkdown status for next-hops and simply
checks the dev for the dst entry and sets proper flags that to be used
in the netlink message.

v2: drop use of rt6i_nhflags since it is not needed right now

Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c