David Ahern
c00e51ddbf
net: mpls: Don't show nexthop if device has been deleted
...
If the device for a nexthop in a multipath route is deleted, the nexthop
is effectively removed from the route. Currently, a route dump still
returns the nexhop though without the device set:
$ ip -f mpls ro ls
100
nexthopvia inet 10.11.1.2 dev br0
nexthopvia inet 10.100.3.1 dev eth3
$ ip li del br0
$ ip -f mpls ro ls
100
nexthopvia inet 10.11.1.2 dev * dead linkdown
nexthopvia inet 10.100.3.1 dev eth3
Since the nexthop is effectively deleted, drop the hop from the route
dump.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com >
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-03-27 14:09:50 -07:00
..
2017-01-22 16:46:13 -05:00
2017-03-03 21:44:35 -08:00
2016-12-24 11:46:01 -08:00
2017-03-21 15:26:26 -07:00
2017-02-27 18:43:47 -08:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-03-16 12:05:38 -07:00
2017-03-09 18:23:27 -08:00
2017-03-24 12:30:21 -07:00
2017-03-02 08:42:29 +01:00
2017-01-30 11:05:04 +01:00
2017-03-07 14:30:38 +01:00
2017-03-24 20:49:31 -07:00
2016-12-03 23:54:25 -05:00
2017-03-13 22:00:42 -07:00
2017-03-15 11:59:10 -07:00
2017-03-03 10:16:38 -08:00
2017-03-15 15:34:13 -07:00
2017-02-16 21:25:49 -05:00
2017-02-21 13:25:22 -05:00
2017-02-27 18:43:47 -08:00
2017-02-03 15:16:45 -05:00
2017-03-24 20:49:30 -07:00
2017-03-24 20:49:30 -07:00
2016-12-25 17:21:22 +01:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-02 08:42:32 +01:00
2016-11-18 10:59:15 -05:00
2017-02-28 10:00:39 -08:00
2016-12-24 11:46:01 -08:00
2017-03-09 18:23:27 -08:00
2017-03-04 17:31:39 -08:00
2017-03-02 08:42:38 +01:00
2017-03-27 14:09:50 -07:00
2017-03-23 16:41:27 -07:00
2017-01-06 22:20:45 -05:00
2017-03-22 15:38:43 -07:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-23 16:41:27 -07:00
2017-03-01 20:55:57 -08:00
2017-03-09 18:23:27 -08:00
2017-01-24 13:44:28 -05:00
2017-01-10 20:45:04 -05:00
2017-03-15 11:59:10 -07:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-03-16 21:27:57 -07:00
2017-03-24 14:42:52 -07:00
2017-03-24 20:49:30 -07:00
2017-03-09 18:23:27 -08:00
2017-03-03 20:43:26 -08:00
2017-03-17 14:16:22 -07:00
2016-10-30 12:42:58 -04:00
2017-03-22 11:59:16 -07:00
2017-03-21 15:25:10 -07:00
2017-03-21 14:41:47 -07:00
2016-10-27 16:16:09 -04:00
2017-03-16 10:30:03 +01:00
2017-03-09 18:23:27 -08:00
2017-03-07 15:00:37 -08:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-02-03 15:16:45 -05:00
2017-03-21 18:44:17 -07:00