diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-08-15 00:47:15 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-16 00:54:44 +0300 |
commit | fde9bd4a4d41b65a936d65eb416c1de27cb562f1 (patch) | |
tree | fe69b9e89f35c38bc81dae31d62f9823f62a63d3 /net/netlink/genetlink.c | |
parent | 84817d8c6042e6261ea45c53fe8b5a0bd55c3993 (diff) | |
download | linux-fde9bd4a4d41b65a936d65eb416c1de27cb562f1.tar.xz |
genetlink: make genl_info->nlhdr const
struct netlink_callback has a const nlh pointer, make the
pointer in struct genl_info const as well, to make copying
between the two easier.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230814214723.2924989-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions