Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libfabric for openSUSE:Factory checked in at 2022-11-09 12:56:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfabric (Old) and /work/SRC/openSUSE:Factory/.libfabric.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfabric" Wed Nov 9 12:56:28 2022 rev:37 rq:1034518 version:1.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libfabric/fabtests.changes 2022-10-18 12:44:32.297660681 +0200 +++ /work/SRC/openSUSE:Factory/.libfabric.new.1597/fabtests.changes 2022-11-09 12:56:35.848064471 +0100 @@ -1,0 +2,6 @@ +Tue Nov 8 11:46:56 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> + +- Add prov-net-fix-error-path-in-xnet_enable_rdm.patch to fix a deadlock + when no network interfaces are available (bsc#1205139) + +------------------------------------------------------------------- libfabric.changes: same change New: ---- prov-net-fix-error-path-in-xnet_enable_rdm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfabric.spec ++++++ --- /var/tmp/diff_new_pack.0WPB7i/_old 2022-11-09 12:56:36.672069116 +0100 +++ /var/tmp/diff_new_pack.0WPB7i/_new 2022-11-09 12:56:36.676069138 +0100 @@ -28,6 +28,7 @@ Source: %{name}-%{version}%{git_ver}.tar.bz2 Source1: baselibs.conf Patch0: libfabric-libtool.patch +Patch1: prov-net-fix-error-path-in-xnet_enable_rdm.patch URL: http://www.github.com/ofiwg/libfabric BuildRequires: autoconf BuildRequires: automake @@ -70,6 +71,7 @@ %prep %setup -q -n %{name}-%{version}%{git_ver} %patch0 -p1 +%patch1 %build rm -f config/libtool.m4 ++++++ prov-net-fix-error-path-in-xnet_enable_rdm.patch ++++++ commit b775a752b3b4017f39e542ef4f32576d2b018f05 Author: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> Date: Tue Nov 8 12:40:43 2022 +0100 prov/net: fix error path in xnet_enable_rdm If xnet_listen fails (happens 100% of the time on a system with no network interface but lo), the progress lock is not released which causes a deadlock when fi_close is called later on the endpoint. Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> diff --git prov/net/src/xnet_rdm.c prov/net/src/xnet_rdm.c index 77a236b51903..b5f77f068bf3 100644 --- prov/net/src/xnet_rdm.c +++ prov/net/src/xnet_rdm.c @@ -711,7 +711,7 @@ static int xnet_enable_rdm(struct xnet_rdm *rdm) ret = xnet_listen(rdm->pep, progress); if (ret) - return ret; + goto unlock; /* TODO: Move updating the src_addr to pep_listen(). */ len = sizeof(rdm->addr);