diff options
| author | Ratheesh Kannoth <rkannoth@marvell.com> | 2026-06-09 09:34:47 +0530 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 16:16:58 -0700 |
| commit | c0e67fd12313e92e83b0b4795c0bf71eb8e34618 (patch) | |
| tree | 60b1b2e47d94e7df0b1aa22f4b8c0ebdd729fff2 /scripts/objdiff | |
| parent | 4655902deedff8c4ae433260b08c324925a5451f (diff) | |
devlink: heap-allocate param fill buffers in devlink_nl_param_fill
devlink_nl_param_fill() kept two per-configuration-mode copies of
union devlink_param_value plus a struct devlink_param_gset_ctx on the
stack while building the Netlink reply. Allocate those with kcalloc()
and kzalloc_obj() instead, and route failures through a single cleanup
path so temporary buffers are always freed.
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Link: https://patch.msgid.link/20260609040453.711932-4-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
