summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2026-02-11 12:10:08 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-03-18 00:12:36 +0300
commit6850deb61118345996f03b87817b4ae0f2f25c38 (patch)
treefbb23b3b0bcb646558eaca512464a104b322774d /include/linux
parentfc9c69be594756b81b54c6bc40803fa6052f35ae (diff)
downloadlinux-6850deb61118345996f03b87817b4ae0f2f25c38.tar.xz
libie: prevent memleak in fwlog code
All cmd_buf buffers are allocated and need to be freed after usage. Add an error unwinding path that properly frees these buffers. The memory leak happens whenever fwlog configuration is changed. For example: $echo 256K > /sys/kernel/debug/ixgbe/0000\:32\:00.0/fwlog/log_size Fixes: 96a9a9341cda ("ice: configure FW logging") Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions