summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2020-05-26 21:56:18 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-27 02:06:07 +0300
commit1fd1c768f3624a5e66766e7b4ddb9b607cd834a5 (patch)
treeb70ecc0b84cb9c9db0c4e40ba2af7f12eacdf969 /scripts
parentaf7888ad9edbd8ba7f6449d1c27ce281ad4b26fd (diff)
downloadlinux-1fd1c768f3624a5e66766e7b4ddb9b607cd834a5.tar.xz
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions