Mon, Nov 28, 2016 at 10:04:56PM CET, gerlitz...@gmail.com wrote: >On Mon, Nov 28, 2016 at 4:40 PM, Jiri Pirko <j...@resnulli.us> wrote: >> From: Jiri Pirko <j...@mellanox.com> >> >> Be symmetric to hashtable insert and remove filter from hashtable only >> in case skip sw flag is not set. >> >> Fixes: e69985c67c33 ("net/sched: cls_flower: Introduce support in SKIP SW >> flag") > >Amir, Jiri - what was the impact of running without this fix for the >last 3-4 kernels? I haven't seen any crashes, is that leaking took >place? or this is just a cleanup to make things more clear and >maintainable?
It's a fix for real bug. If you add rule with skip_sw flag, it is not inserted into hashtable. But once you remove it, the current code removes it from hashtable (did not inspect how rhashtable implementation handles this).