]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: nexthop: factor out ipnh_get_id rtnl talk into a helper
authorNikolay Aleksandrov <nikolay@nvidia.com>
Thu, 30 Sep 2021 11:38:40 +0000 (14:38 +0300)
committerDavid Ahern <dsahern@kernel.org>
Mon, 4 Oct 2021 00:24:36 +0000 (18:24 -0600)
commit53d7c43bd385b2120b0dcb1d58b6384d10decf5b
tree436eae475aec86ba3fdd534eb1bef239266665bf
parenta2ca4312150176935be17749f1b403b559a012c0
ip: nexthop: factor out ipnh_get_id rtnl talk into a helper

Factor out ipnh_get_id's rtnl talk portion into a separate helper which
will be reused later to retrieve nexthops for caching.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipnexthop.c