diff options
| author | Raag Jadav <raag.jadav@intel.com> | 2026-08-18 19:22:05 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-08-28 12:34:46 -0400 |
| commit | 9cc19bb8f2f6886392b9185b96bbef91b2f1a50f (patch) | |
| tree | 1a9fd61e642e1790e4c780640008a94e4c6b01f8 /scripts/Makefile.thinlto | |
| parent | 6a8789e948c15f6daea4961e73e8ba01016716b2 (diff) | |
| download | linux-next-9cc19bb8f2f6886392b9185b96bbef91b2f1a50f.tar.gz linux-next-9cc19bb8f2f6886392b9185b96bbef91b2f1a50f.zip | |
drm/ras: Cancel and free message on get counter failure
doit_reply_value() directly returns on get counter failure, which results
in stale sk_buff and genetlink header that aren't cleaned up. Fix it and
while at it, consolidate error handling using goto.
Fixes: c36218dc49f5 ("drm/ras: Introduce the DRM RAS infrastructure over generic netlink")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Riana Tauro <riana.tauro@intel.com>
Link: https://patch.msgid.link/20260818135304.497098-2-raag.jadav@intel.com
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
