commit | 6905e5a5c8d552ace1d65cacb43499a0eb1e0b89 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Apr 19 12:59:15 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 20 16:26:10 2017 -0400 |
tree | 6a6c835224714334a78de23dc60b89fca99dfa8d | |
parent | f6ca26f26837f90727a1450f010a1638834e34e1 [diff] |
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: 48935bbb7ae8 ("net/mlx5e: IPoIB, Add netdevice profile skeleton") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>