sched: cls_flower: remove from hashtable only in case skip sw flag is not set
authorJiri Pirko <jiri@mellanox.com>
Mon, 28 Nov 2016 14:40:13 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 01:44:38 +0000 (20:44 -0500)
commit725cbb62e7ade1bb29aa21a902d74e72b42a0f3d
treeb2b05eb4d8267cb59d305ae5ca9226234d54262a
parent648f0c28df282636c0c8a7a19ca3ce5fc80a39c3
sched: cls_flower: remove from hashtable only in case skip sw flag is not set

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")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c