diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-19 11:59:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-20 22:26:10 +0200 |
commit | 6905e5a5c8d552ace1d65cacb43499a0eb1e0b89 (patch) | |
tree | 6a6c835224714334a78de23dc60b89fca99dfa8d /drivers/net/ethernet/intel | |
parent | qede: allocate enough data for ->arfs_fltr_bmap (diff) | |
download | linux-6905e5a5c8d552ace1d65cacb43499a0eb1e0b89.tar.xz linux-6905e5a5c8d552ace1d65cacb43499a0eb1e0b89.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions