net/mlx5: fix flow destruction
authorYongseok Koh <yskoh@mellanox.com>
Thu, 15 Nov 2018 05:24:13 +0000 (05:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Nov 2018 09:45:37 +0000 (10:45 +0100)
commit57e1073bdc00f3b76af959a66816141dce9d0b05
tree0d3b11b92d4a33df7ffeab2981edfd217a1f164f
parenta3166356ab28770e2958a494e9a1923b5c52664a
net/mlx5: fix flow destruction

As flow_drv_destroy() frees dev_flow, flow_rxq_flags_trim() must be called
ahead.

Fixes: 84c406e74524 ("net/mlx5: add flow translate function")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow.c