netdev-genl: use struct genl_info for reply construction
authorJakub Kicinski <kuba@kernel.org>
Mon, 14 Aug 2023 21:47:21 +0000 (14:47 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Aug 2023 22:01:03 +0000 (15:01 -0700)
commit0e19d3108aeab6a9edcef07bf0f123fa2961d0d6
tree9c259abfe561f55ebfa143e9f2bf2eb325149b06
parent5aa51d9f889ca61201044b28677eb60236b0d746
netdev-genl: use struct genl_info for reply construction

Use the just added APIs to make the code simpler.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230814214723.2924989-9-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/netdev-genl.c