diff options
author | Md Haris Iqbal <haris.iqbal@ionos.com> | 2023-11-20 16:41:41 +0100 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-11-22 12:40:55 +0100 |
commit | 3a71cd6ca0ce33d1af019ecf1d7167406fa54400 (patch) | |
tree | ad94211940a1122cb5ff99bd412723826016ac8d /.gitignore | |
parent | RDMA/rtrs-srv: Check return values while processing info request (diff) | |
download | linux-3a71cd6ca0ce33d1af019ecf1d7167406fa54400.tar.xz linux-3a71cd6ca0ce33d1af019ecf1d7167406fa54400.zip |
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: 9cb837480424 ("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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions