genetlink: add genlmsg_iput() API
authorJakub Kicinski <kuba@kernel.org>
Mon, 14 Aug 2023 21:47:20 +0000 (14:47 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Aug 2023 22:01:03 +0000 (15:01 -0700)
commit5aa51d9f889ca61201044b28677eb60236b0d746
tree1b6cd2296e4eead33ac0071ef54772522f1871fc
parent5c670a010de46687ed27553602d8131ce4d7a9fb
genetlink: add genlmsg_iput() API

Add some APIs and helpers required for convenient construction
of replies and notifications based on struct genl_info.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230814214723.2924989-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/genetlink.h