net/mlx5: fix socket connection return value
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 3 May 2018 07:59:36 +0000 (10:59 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:48 +0000 (22:31 +0100)
commiteac9cd58dec1b08d241657b1a81deebed9d4db9d
treebcfc44d75993beb3700a73d67796b788b7c9fb5a
parentd11d651f6d972a9802f1dc20ed9eaebcd367bc3b
net/mlx5: fix socket connection return value

Upon success, mlx5_socket_connect should return the fd descriptor of the
primary process

Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_socket.c