linux/drivers/infiniband/ulp
Bart Van Assche 7ec2e27a3a RDMA/srp: Fix a recently introduced memory leak
Only allocate a memory registration list if it will be used and if it will
be freed.

Link: https://lore.kernel.org/r/20210524041211.9480-5-bvanassche@acm.org
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Fixes: f273ad4f8d ("RDMA/srp: Remove support for FMR memory registration")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-05-28 20:21:21 -03:00
..
ipoib IB/ipoib: Remove unnecessary struct declaration 2021-04-20 09:34:39 -03:00
iser RDMA/iser: struct iscsi_iser_task is declared twice 2021-03-30 19:53:08 -03:00
isert IB/isert: Fix a use after free in isert_connect_request 2021-03-26 14:15:40 -03:00
opa_vnic RDMA: Convert comma to semicolon 2021-01-07 13:53:41 -04:00
rtrs block-5.13-2021-05-07 2021-05-07 11:35:12 -07:00
srp RDMA/srp: Fix a recently introduced memory leak 2021-05-28 20:21:21 -03:00
srpt IB/srpt: Remove redundant assignment to ret 2021-05-11 13:42:17 -03:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00