Thread (27 messages) 27 messages, 2 authors, 2023-03-01

Re: [PATCH AUTOSEL 6.2 51/53] devlink: health: Fix nla_nest_end in error flow

From: Sasha Levin <sashal@kernel.org>
Date: 2023-03-01 14:14:01
Also in: lkml, stable

On Mon, Feb 27, 2023 at 10:13:00AM -0800, Jakub Kicinski wrote:
On Sun, 26 Feb 2023 09:44:43 -0500 Sasha Levin wrote:
quoted
From: Moshe Shemesh <redacted>

[ Upstream commit bfd4e6a5dbbc12f77620602e764ac940ccb159de ]

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.
Not really a fix as described, let's drop.
Gone, thanks!

-- 
Thanks,
Sasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help