Backport patches from rdma-core 41.1. And bugfix patches reported by #I5Q3S5 has also been included. Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 3e56594215ccce88b89638ec16480d970776e3fb Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Drung <bdrung@ubuntu.com>
|
|
Date: Tue, 27 Sep 2022 12:01:14 +0200
|
|
Subject: Fix spelling mistake of underlying
|
|
|
|
[ Upstream commit 47f3a9fd706c4a407b7bbea12ffd16edd120883e ]
|
|
|
|
Fixes: cc6eb6dd7b73 ("pyverbs: Add support for memory window creation")
|
|
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
|
|
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
|
|
---
|
|
pyverbs/mr.pyx | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/pyverbs/mr.pyx b/pyverbs/mr.pyx
|
|
index 72bb181..e7f5f52 100644
|
|
--- a/pyverbs/mr.pyx
|
|
+++ b/pyverbs/mr.pyx
|
|
@@ -314,10 +314,10 @@ cdef class MW(PyverbsCM):
|
|
|
|
cpdef close(self):
|
|
"""
|
|
- Closes the underlaying C MW object.
|
|
+ Closes the underlying C MW object.
|
|
MW may be deleted directly or by deleting its PD, which leaves the
|
|
- Python object without the underlaying MW.
|
|
- Need to check that the underlaying MW wasn't dealloced before.
|
|
+ Python object without the underlying MW.
|
|
+ Need to check that the underlying MW wasn't dealloced before.
|
|
:return: None
|
|
"""
|
|
if self.mw is not NULL:
|
|
--
|
|
2.34.1
|
|
|