net_sched: remove cls_flower idr on failure
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 20 Sep 2017 16:18:45 +0000 (09:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:13:52 +0000 (15:13 -0700)
commitfe2502e49b58606580c77b3d84e42f946de182d8
tree9aed6b216ac4e943189ac2fad53aa85ca1aa95a9
parent21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14
net_sched: remove cls_flower idr on failure

Fixes: c15ab236d69d ("net/sched: Change cls_flower to use IDR")
Cc: Chris Mi <chrism@mellanox.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c