]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
genetlink: extend info user-storage to match NL cb ctx
authorPaolo Abeni <pabeni@redhat.com>
Wed, 9 Oct 2024 08:09:47 +0000 (10:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Oct 2024 15:30:21 +0000 (08:30 -0700)
commit13d68a16430312fc21990f48326366eb73891202
treeac5846331f7e46d70dbfb2dfcbfd26c3e728003e
parent80c549cd1ab0241a7af262690a0ff9991fc74ec5
genetlink: extend info user-storage to match NL cb ctx

This allows a more uniform implementation of non-dump and dump
operations, and will be used later in the series to avoid some
per-operation allocation.

Additionally rename the NL_ASSERT_DUMP_CTX_FITS macro, to
fit a more extended usage.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/1130cc2896626b84587a2a5f96a5c6829638f4da.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan/vxlan_mdb.c
include/linux/netlink.h
include/net/genetlink.h
net/core/netdev-genl.c
net/core/rtnetlink.c
net/devlink/devl_internal.h
net/ethtool/rss.c
net/netfilter/nf_conntrack_netlink.c
net/netlink/genetlink.c