linux/drivers/infiniband/ulp
Md Haris Iqbal 3a71cd6ca0 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
Since srv_mr->iu is allocated and used only when always_invalidate is
true, free it only when always_invalidate is true.

Fixes: 9cb8374804 ("RDMA/rtrs: server: main functionality")
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Grzegorz Prajsner <grzegorz.prajsner@ionos.com>
Link: https://lore.kernel.org/r/20231120154146.920486-5-haris.iqbal@ionos.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-11-22 13:40:55 +02:00
..
ipoib RDMA for v6.7 2023-11-02 15:20:30 -10:00
iser v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
isert Revert "IB/isert: Fix incorrect release of isert connection" 2023-08-22 17:01:04 +03:00
opa_vnic IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
rtrs RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true 2023-11-22 13:40:55 +02:00
srp Merge tag 'v6.6' into rdma.git for-next 2023-10-31 10:54:48 -03:00
srpt scsi: target: Have drivers report if they support direct submissions 2023-10-13 15:53:57 -04:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00