Re: [PATCH rdma-next] IB/core: Destroy QP if XRC QP fails

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

 



On Tue, Jan 22, 2019 at 09:02:05AM +0200, Leon Romanovsky wrote:
> From: Yuval Avnery <yuvalav@xxxxxxxxxxxx>
> 
> The open-coded variant missed destroy of SELinux created QP,
> reuse already existing ib_detroy_qp() call and use this
> opportunity to clean ib_create_qp() from double prints
> and unclear exit paths.
> 
> Reported-by: Parav Pandit <parav@xxxxxxxxxxxx>
> Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs")
> Signed-off-by: Yuval Avnery <yuvalav@xxxxxxxxxxxx>
> Reviewed-by: Parav Pandit <parav@xxxxxxxxxxxx>
> Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/verbs.c | 40 +++++++++++++++++++--------------
>  1 file changed, 23 insertions(+), 17 deletions(-)

Applied to for-next

Thanks,
Jason



[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