David Ahern 1fd1c768f3 ipv4: nexthop version of fib_info_nh_uses_dev
Similar to the last path, need to fix fib_info_nh_uses_dev for
external nexthops to avoid referencing multiple nh_grp structs.
Move the device check in fib_info_nh_uses_dev to a helper and
create a nexthop version that is called if the fib_info uses an
external nexthop.

Fixes: 430a049190de ("nexthop: Add support for nexthop groups")
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-26 16:06:07 -07:00
..
2019-05-21 12:33:38 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-05-12 18:12:40 -07:00
2020-01-23 14:32:52 +01:00
2020-03-12 15:55:00 -07:00
2020-03-30 13:45:04 -07:00
2020-03-29 21:53:18 -07:00
2019-09-13 21:44:19 +02:00
2020-03-16 18:26:54 -07:00
2020-03-12 15:55:00 -07:00
2020-03-16 18:26:55 -07:00
2020-03-16 18:26:55 -07:00