commit | 08e74be103051861eb2c1ee52a2dcf119cde264f | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Wed Sep 05 09:47:57 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Wed Sep 05 16:15:52 2018 -0600 |
tree | 4c71d8583c1c94aea7021f9a7bdd6daedd50df1c | |
parent | f40f299bbe806a2e2c8b0d7cdda822fa3bdd171b [diff] |
RDMA/uverbs: Fix error cleanup path of ib_uverbs_add_one() If ib_uverbs_create_uapi() fails, dev_num should be freed from the bitmap. Fixes: 7d96c9b17636 ("IB/uverbs: Have the core code create the uverbs_root_spec") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>