mbox series

[PATCHv2,for-next,0/4] A few bugfix for RTRS

Message ID 20210212134525.103456-1-jinpu.wang@cloud.ionos.com (mailing list archive)
Headers show
Series A few bugfix for RTRS | expand

Message

Jinpu Wang Feb. 12, 2021, 1:45 p.m. UTC
Hi Jason, hi Doug,

Please consider to include follwing bugfix to next release.

One bugfix for KASAN splat due to we use wrong structure type when send
RDMA_WRITE_WITH_IMM opcode from me.

One bugfix for allowing addition of random path to exsition session from Haris.

2 bugfix for memory leak from Gioh.

v2->v1:
- collect reviewed-by from Leon for patch1 and patch4.
- adjust patch2 as suggested by Leon, also add missing mutex_unlock before
  return and misc cleanup. 

Thanks!
Jack Wang

Gioh Kim (2):
  RDMA/rtrs-srv: fix memory leak by missing kobject free
  RDMA/rtrs-srv-sysfs: fix missing put_device

Jack Wang (1):
  RDMA/rtrs-srv: Fix BUG: KASAN: stack-out-of-bounds

Md Haris Iqbal (1):
  RDMA/rtrs: Only allow addition of path to an already established
    session

 drivers/infiniband/ulp/rtrs/rtrs-clt.c       |  7 ++
 drivers/infiniband/ulp/rtrs/rtrs-clt.h       |  1 +
 drivers/infiniband/ulp/rtrs/rtrs-pri.h       |  4 +-
 drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c |  4 +-
 drivers/infiniband/ulp/rtrs/rtrs-srv.c       | 91 +++++++++++---------
 5 files changed, 66 insertions(+), 41 deletions(-)

Comments

Jason Gunthorpe Feb. 12, 2021, 3:40 p.m. UTC | #1
On Fri, Feb 12, 2021 at 02:45:21PM +0100, Jack Wang wrote:
> Hi Jason, hi Doug,
> 
> Please consider to include follwing bugfix to next release.
> 
> One bugfix for KASAN splat due to we use wrong structure type when send
> RDMA_WRITE_WITH_IMM opcode from me.
> 
> One bugfix for allowing addition of random path to exsition session from Haris.
> 
> 2 bugfix for memory leak from Gioh.
> 
> v2->v1:
> - collect reviewed-by from Leon for patch1 and patch4.
> - adjust patch2 as suggested by Leon, also add missing mutex_unlock before
>   return and misc cleanup. 
> 
> Thanks!
> Jack Wang
> 
> Gioh Kim (2):
>   RDMA/rtrs-srv: fix memory leak by missing kobject free
>   RDMA/rtrs-srv-sysfs: fix missing put_device
> 
> Jack Wang (1):
>   RDMA/rtrs-srv: Fix BUG: KASAN: stack-out-of-bounds
> 
> Md Haris Iqbal (1):
>   RDMA/rtrs: Only allow addition of path to an already established
>     session

Applied to for-next, thanks

Jason