On Sun, Aug 20, 2023 at 01:34:17AM +0530, Selvin Xavier wrote: > On Fri, Aug 18, 2023 at 9:50 PM Jason Gunthorpe <jgg@xxxxxxxxxx> wrote: > > > > On Mon, Aug 14, 2023 at 10:00:19AM -0700, Selvin Xavier wrote: > > > Syncrhonization is required to avoid simultaneous allocation > > > of the PD. Add a new mutex lock to handle allocation from > > > the PD table. > > > > > > Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx> > > > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > > > --- > > > drivers/infiniband/hw/bnxt_re/ib_verbs.c | 2 +- > > > drivers/infiniband/hw/bnxt_re/qplib_res.c | 26 ++++++++++++++++++++------ > > > drivers/infiniband/hw/bnxt_re/qplib_res.h | 4 +++- > > > 3 files changed, 24 insertions(+), 8 deletions(-) > > > > This needs a fixes line, it seems like a serious bug?? > Yes. It is a critical fix. Will add fixes line and post a v2. We already applied v1 and tagged for-next with it. Unless Jason wants to rebase that branch, it is too late for v2. Thanks