RE: [PATCH] iser-target: Fix possible use-after-free in connection establishment error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sagi,

> > Reported-by: Amrani, Ram <Ram.Amrani@xxxxxxxxxx>
> > Signed-off-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
> > ---
> >   drivers/infiniband/ulp/isert/ib_isert.c | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c
> > index ceabdb85df8b..9d4785ba24cb 100644
> > --- a/drivers/infiniband/ulp/isert/ib_isert.c
> > +++ b/drivers/infiniband/ulp/isert/ib_isert.c
> > @@ -741,6 +741,7 @@ isert_connect_error(struct rdma_cm_id *cma_id)
> >   {
> >   	struct isert_conn *isert_conn = cma_id->qp->qp_context;
> >
> > +	ib_drain_qp(isert_conn->qp);
> >   	list_del_init(&isert_conn->node);
> >   	isert_conn->cm_id = NULL;
> >   	isert_put_conn(isert_conn);
> >
> --

If it's not already committed, can you add a "Fixes:" so stable maintainers will catch it?

Thanks,
Ram

��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux