Hello community, here is the log from the commit of package rdma-core for openSUSE:Factory checked in at 2017-10-20 14:38:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rdma-core (Old) and /work/SRC/openSUSE:Factory/.rdma-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rdma-core" Fri Oct 20 14:38:48 2017 rev:9 rq:534982 version:15 Changes: -------- --- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes 2017-09-21 12:32:42.277338652 +0200 +++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-10-20 14:38:48.272076037 +0200 @@ -1,0 +2,11 @@ +Wed Oct 18 09:01:37 UTC 2017 - nmoreychaisemar...@suse.com + +- Backport patches from upstream: + * ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch + Fixes a byte order issue which causes ibacm to fail to join a multicast + group on recent on recent kernels. (bsc#1063639, bsc#1063697) + * ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch + Fixes a sefgault of ibacm when a provider other than default + is set (bsc#1063642, bsc#1063698) + +------------------------------------------------------------------- New: ---- ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rdma-core.spec ++++++ --- /var/tmp/diff_new_pack.JgGJnN/_old 2017-10-20 14:38:48.812050769 +0200 +++ /var/tmp/diff_new_pack.JgGJnN/_new 2017-10-20 14:38:48.816050582 +0200 @@ -50,6 +50,8 @@ Url: https://github.com/linux-rdma/rdma-core 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 BuildRequires: binutils BuildRequires: cmake >= 2.8.11 BuildRequires: gcc @@ -311,6 +313,8 @@ %prep %setup -q -n %{name}-%{version}%{git_ver} +%patch0 +%patch1 %build ++++++ ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch ++++++ diff --git ibacm/src/acm.c ibacm/src/acm.c index 367a43fe..9367fe89 100644 --- ibacm/src/acm.c +++ ibacm/src/acm.c @@ -2585,8 +2585,8 @@ static void acm_load_prov_config(void) return; } subnet->subnet_prefix = htobe64(prefix); - list_add_after(&provider_list, &prov->entry, - &subnet->entry); + list_add_tail(&prov->subnet_list, + &subnet->entry); } } } ++++++ ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch ++++++ diff --git ibacm/prov/acmp/src/acmp.c ibacm/prov/acmp/src/acmp.c index aa784166..78d9a295 100644 --- ibacm/prov/acmp/src/acmp.c +++ ibacm/prov/acmp/src/acmp.c @@ -732,7 +732,7 @@ static void acmp_process_join_resp(struct acm_sa_mad *sa_mad) acm_log(0, "ERROR - unable to create ah\n"); goto out; } - ret = ibv_attach_mcast(ep->qp, &mc_rec->mgid, mc_rec->mlid); + ret = ibv_attach_mcast(ep->qp, &dest->mgid, dest->av.dlid); if (ret) { acm_log(0, "ERROR - unable to attach QP to multicast group\n"); ibv_destroy_ah(dest->ah); @@ -1429,7 +1429,7 @@ static void acmp_ep_join(struct acmp_ep *ep) if (ep->mc_dest[0].state == ACMP_READY && ep->mc_dest[0].ah) { ibv_detach_mcast(ep->qp, &ep->mc_dest[0].mgid, - be16toh(ep->mc_dest[0].av.dlid)); + ep->mc_dest[0].av.dlid); ibv_destroy_ah(ep->mc_dest[0].ah); ep->mc_dest[0].ah = NULL; }