net/mlx5: fix flow action destroy
authorYongseok Koh <yskoh@mellanox.com>
Wed, 24 Apr 2019 00:56:13 +0000 (17:56 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit0b083fe41cac6bed70018e13bb33b0a072ea8fca
treed0174e82c4a381f9a3d6d6a592073e551fbaa542
parent9374a8e20cf53d95474d5bacecad658b5bd10e57
net/mlx5: fix flow action destroy

ibv_destroy_flow_action() refers to QP. QP must not be freed until
corresponding action is destroyed.

Fixes: 3eb004431072 ("net/mlx5: fix release of jump to queue action")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c