diff options
author | Parav Pandit <parav@mellanox.com> | 2018-09-05 09:47:57 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-05 16:15:52 -0600 |
commit | 08e74be103051861eb2c1ee52a2dcf119cde264f (patch) | |
tree | 4c71d8583c1c94aea7021f9a7bdd6daedd50df1c /include/rdma | |
parent | f40f299bbe806a2e2c8b0d7cdda822fa3bdd171b (diff) | |
download | linux-stable-08e74be103051861eb2c1ee52a2dcf119cde264f.tar.gz linux-stable-08e74be103051861eb2c1ee52a2dcf119cde264f.tar.bz2 linux-stable-08e74be103051861eb2c1ee52a2dcf119cde264f.zip |
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions