On Thu, Jan 28, 2021 at 10:03:35AM -0400, Jason Gunthorpe wrote: > On Mon, Jan 25, 2021 at 11:28:57AM +0000, Christoph Lameter wrote: > > On Sun, 24 Jan 2021, Leon Romanovsky wrote: > > > > > > Since all SMs out there have had support for sendonly join for years now > > > > we could just remove the check entirely. If there is an old grizzly SM out > > > > there then it would not process that join request and would return an > > > > error. > > > > > > I have no idea if it possible, if yes, this will be the best solution. > > > > Ok hier ist ein neuer Patch: > > > > From: Christoph Lameter <cl@xxxxxxxxx> > > Subject: [PATCH] Fix: Remove racy Subnet Manager sendonly join checks > > I need patches to be sent in a way that shows in patchworks to be > applied: > > https://patchwork.kernel.org/project/linux-rdma/list/ > > > Index: linux/drivers/infiniband/core/cma.c > > =================================================================== > > +++ linux/drivers/infiniband/core/cma.c 2021-01-25 09:39:29.191032891 +0000 > > @@ -4542,17 +4542,6 @@ static int cma_join_ib_multicast(struct > > Also if patches aren't generated with 'git diff' then I won't fix any > minor conflicts :( My mutt2git script picked this patch correctly and without conflicts :). Anyway, from our (MLNX testing) perspective this patch is OK. Thanks > > Thanks, > Jason