net/mlx5: fix counter set destroy order
authorOri Kam <orika@mellanox.com>
Mon, 30 Oct 2017 12:46:54 +0000 (14:46 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:06 +0000 (22:17 +0100)
commit25a987433bd16d18086e7875162641374b9a47cf
treef6b8c2f2b518a8d2dfbe93e2e563245437a8b404
parent7ff0ec78d0d864478d0e1994e13363079b97fec3
net/mlx5: fix counter set destroy order

The counter set should be destroyed only after the flow was destroyed.

Fixes: 9a761de8ea14 ("net/mlx5: flow counter support")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c