]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nexthop: Move nlmsg_parse() in rtm_to_nh_config() to rtm_new_nexthop().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 19 Mar 2025 23:06:46 +0000 (16:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 14:31:58 +0000 (07:31 -0700)
commitec8de7544778a329484b6aead305b7549aa9beaa
treebc451e85a5fc106709809849b95bd29a505b5477
parentb709857ecbf511bb25603790ff9c3f12abe36559
nexthop: Move nlmsg_parse() in rtm_to_nh_config() to rtm_new_nexthop().

We will split rtm_to_nh_config() into non-RTNL and RTNL parts,
and then the latter also needs tb.

As a prep, let's move nlmsg_parse() to rtm_new_nexthop().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250319230743.65267-2-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/nexthop.c