net/mlx5: fix close after start failure
authorXueming Li <xuemingl@mellanox.com>
Tue, 6 Feb 2018 12:54:22 +0000 (20:54 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 13 Feb 2018 15:55:49 +0000 (16:55 +0100)
commit8c5bca92c92cce90239ca813f293f3df53427775
tree162f128b80ae8ff0442a7514eb42cec5bdfad964
parent71a915cc2b39fe5fae58568d60b246825753dd14
net/mlx5: fix close after start failure

This patch fixed primary socket assertion error during close on a device
that failed to start.

Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exchange a file descriptor")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5.c