diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2023-02-14 17:37:58 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-16 04:15:44 +0100 |
commit | bfd4e6a5dbbc12f77620602e764ac940ccb159de (patch) | |
tree | c98029797739fe929be309d9d5d0982aeb6f1e6d /net/devlink/devl_internal.h | |
parent | devlink: Split out health reporter create code (diff) | |
download | linux-bfd4e6a5dbbc12f77620602e764ac940ccb159de.tar.xz linux-bfd4e6a5dbbc12f77620602e764ac940ccb159de.zip |
devlink: health: Fix nla_nest_end in error flow
devlink_nl_health_reporter_fill() error flow calls nla_nest_end(). Fix
it to call nla_nest_cancel() instead.
Note the bug is harmless as genlmsg_cancel() cancel the entire message,
so no fixes tag added.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/devl_internal.h')
0 files changed, 0 insertions, 0 deletions