summaryrefslogtreecommitdiffstats
path: root/net/devlink/devl_internal.h
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2023-02-14 17:37:58 +0100
committerJakub Kicinski <kuba@kernel.org>2023-02-16 04:15:44 +0100
commitbfd4e6a5dbbc12f77620602e764ac940ccb159de (patch)
treec98029797739fe929be309d9d5d0982aeb6f1e6d /net/devlink/devl_internal.h
parentdevlink: Split out health reporter create code (diff)
downloadlinux-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