From: John Hurley <john.hur...@netronome.com> Date: Tue, 2 Apr 2019 23:53:20 +0100
> Recent changes to TC flower remove the requirement for rtnl lock when > accessing and modifying filters. Refcounts now ensure access and deletion > do not happen concurrently. However, the reoffload function which cycles > through all filters and replays them to registered hw drivers is not > protected. > > Use the fl_get_next_filter() function to cycle the filters for reoffload > and ensure the ref taken by this function is put when done with each > filter. > > Signed-off-by: John Hurley <john.hur...@netronome.com> > Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> Applied, thank you.