Skip to content
Commit 6905e5a5 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net/mlx5e: IPoIB, Fix error handling in mlx5_rdma_netdev_alloc()



The labels were out of order, so it either could result in an Oops or a
leak.

Fixes: 48935bbb ("net/mlx5e: IPoIB, Add netdevice profile skeleton")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6ca26f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment