diff options
author | Hao Ge <gehao@kylinos.cn> | 2023-11-21 09:37:09 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-21 17:41:20 -0800 |
commit | b6fe6f03716da246b453369f98a553d4ab21447c (patch) | |
tree | 313cbf3fe6e2fe5323492cdcee9b839ed0e82ae9 /drivers/leds | |
parent | b2d66643dcf2c395207f9373c624e0ab32166e57 (diff) |
dpll: Fix potential msg memleak when genlmsg_put_reply failed
We should clean the skb resource if genlmsg_put_reply failed.
Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions")
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://lore.kernel.org/r/20231121013709.73323-1-gehao@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions