- Backport patch from upstream:
* libqedr-fix-inline-data-copy.patch Fix data integrity issue while sending inline data (bsc#1050543, fate#322894) OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=56
This commit is contained in:
parent
55513723ee
commit
4f1863d296
13
libqedr-fix-inline-data-copy.patch
Normal file
13
libqedr-fix-inline-data-copy.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git providers/qedr/qelr_verbs.c providers/qedr/qelr_verbs.c
|
||||
index 4a74c50e..7db0fb32 100644
|
||||
--- providers/qedr/qelr_verbs.c
|
||||
+++ providers/qedr/qelr_verbs.c
|
||||
@@ -874,7 +874,7 @@ static void swap_wqe_data64(uint64_t *p)
|
||||
__be64 *bep=(__be64 *)p;
|
||||
int i;
|
||||
|
||||
- for (i = 0; i < ROCE_WQE_ELEM_SIZE / sizeof(uint64_t); i++, p++)
|
||||
+ for (i = 0; i < ROCE_WQE_ELEM_SIZE / sizeof(uint64_t); i++, p++, bep++)
|
||||
*bep = htobe64(*p);
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 08:39:49 UTC 2017 - nmoreychaisemartin@suse.com
|
||||
|
||||
- Backport patch from upstream:
|
||||
* libqedr-fix-inline-data-copy.patch
|
||||
Fix data integrity issue while sending inline data (bsc#1050543, fate#322894)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 09:01:37 UTC 2017 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
@ -52,6 +52,7 @@ Source: rdma-core-%{version}%{git_ver}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Patch0: ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
|
||||
Patch1: ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
|
||||
Patch2: libqedr-fix-inline-data-copy.patch
|
||||
BuildRequires: binutils
|
||||
BuildRequires: cmake >= 2.8.11
|
||||
BuildRequires: gcc
|
||||
@ -315,6 +316,7 @@ on those changes.
|
||||
%setup -q -n %{name}-%{version}%{git_ver}
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user