linux/net/netlink
Jiri Pirko f862ed2d0b genetlink: don't merge dumpit split op for different cmds into single iter
Currently, split ops of doit and dumpit are merged into a single iter
item when they are subsequent. However, there is no guarantee that the
dumpit op is for the same cmd as doit op.

Fix this by checking if cmd is the same for both.
This problem does not occur in existing families.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231021112711.660606-2-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-23 16:11:53 -07:00
..
af_netlink.c netlink: annotate data-races around sk->sk_err 2023-10-04 17:32:54 -07:00
af_netlink.h netlink: convert nlk->flags to atomic flags 2023-08-13 12:23:19 +01:00
diag.c netlink: convert nlk->flags to atomic flags 2023-08-13 12:23:19 +01:00
genetlink.c genetlink: don't merge dumpit split op for different cmds into single iter 2023-10-23 16:11:53 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile netlink: add infrastructure to expose policies to userspace 2020-04-30 17:51:42 -07:00
policy.c netlink: add variable-length / auto integers 2023-10-20 11:43:35 +01:00