]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn
authorAya Levin <ayal@mellanox.com>
Sun, 7 Jul 2019 13:57:06 +0000 (16:57 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jul 2019 18:45:04 +0000 (11:45 -0700)
commite4bdb4160b364d3cce68c9876f5dc1d82a567de8
tree26f6f477661d424372ef4254f76a269329dd1c9a
parent043e72e0f32829bbd523c9d4a070396f27fce587
net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn

Check return value from mlx5e_attach_netdev, add error path on failure.

Fixes: 2cc33a0def3d ("net/mlx5e: IPoIB, Add netdevice profile skeleton")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c