On Wed, Oct 1, 2025 at 8:44 AM Simon Horman <[email protected]> wrote: > > On Tue, Sep 30, 2025 at 04:23:51PM -0500, Sreedevi Joshi wrote: > > 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 <[email protected]> > > Reviewed-by: Aleksandr Loktionov <[email protected]> > > Signed-off-by: Sreedevi Joshi <[email protected]> > > Reviewed-by: Simon Horman <[email protected]> >
Tested-by: Mina Almasry <[email protected]> -- Thanks, Mina
