diff options
author | Gavrilov Ilia <Ilia.Gavrilov@infotecs.ru> | 2022-12-08 08:31:39 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-09 20:04:32 -0800 |
commit | 5fc11a401a8dc491b326d2c916b07d22e7ac8833 (patch) | |
tree | a6a15672c504a2eac494c98f58067b2d1516a953 /include/net/sch_generic.h | |
parent | ce098da1497c6dee9589fce2c61d1910f4fcf0e7 (diff) |
net: devlink: Add missing error check to devlink_resource_put()
When the resource size changes, the return value of the
'nla_put_u64_64bit' function is not checked. That has been fixed to avoid
rechecking at the next step.
Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.
Note that this is harmless, we'd error out at the next put().
Signed-off-by: Ilia.Gavrilov <Ilia.Gavrilov@infotecs.ru>
Link: https://lore.kernel.org/r/20221208082821.3927937-1-Ilia.Gavrilov@infotecs.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions