]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: Fix the ib_reg failure cleanup
authorSelvin Xavier <selvin.xavier@broadcom.com>
Mon, 26 Feb 2018 09:51:39 +0000 (01:51 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 28 Feb 2018 19:10:33 +0000 (12:10 -0700)
commit6f4ee402685e3994cb669f21b78c314f38294bc4
tree1d650165443c500358b0c55b19ff6eebf1e5196c
parentd752d220c301a72a1a53f1b214eec8ab0c836a5e
RDMA/bnxt_re: Fix the ib_reg failure cleanup

Release the netdev references in the cleanup path.  Invokes the cleanup
routines if bnxt_re_ib_reg fails.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/bnxt_re/main.c