summaryrefslogtreecommitdiff
path: root/scripts/atomic/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSreedevi Joshi <sreedevi.joshi@intel.com>2025-09-30 16:23:51 -0500
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-01-06 15:42:10 -0800
commitf9841bd28b600526ca4f6713b0ca49bf7bb98452 (patch)
tree904adfe31bf3e5da7d0c4285e136fa0d681203fe /scripts/atomic/git@git.tavy.me:linux.git
parent4d792219fe6f891b5b557a607ac8a0a14eda6e38 (diff)
idpf: fix memory leak of flow steer list on rmmod
The flow steering list maintains entries that are added and removed as ethtool creates and deletes flow steering rules. Module removal with active entries causes memory leak as the list is not properly cleaned up. Prevent this by iterating through the remaining entries in the list and freeing the associated memory during module removal. Add a spinlock (flow_steer_list_lock) to protect the list access from multiple threads. Fixes: ada3e24b84a0 ("idpf: add flow steering support") Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Sreedevi Joshi <sreedevi.joshi@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Mina Almasry <almasrymina@google.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/atomic/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions