Hello community, here is the log from the commit of package dapl for openSUSE:Factory checked in at 2018-06-02 12:13:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dapl (Old) and /work/SRC/openSUSE:Factory/.dapl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dapl" Sat Jun 2 12:13:08 2018 rev:9 rq:613333 version:2.1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/dapl/dapl-debug.changes 2018-05-29 10:43:19.672017765 +0200 +++ /work/SRC/openSUSE:Factory/.dapl.new/dapl-debug.changes 2018-06-02 12:13:49.320306490 +0200 @@ -2 +2,8 @@ -Thu May 24 12:50:25 UTC 2018 - kasim...@outlook.de +Tue May 29 06:04:37 UTC 2018 - nmoreychaisemar...@suse.com + +- Add ucm-mcm-fix-backlog-parameter-for-socket.patch to fix + a "deadlock" that causes socket connection to timeout when + net.ipv4.tcp_syncookies=0. (bsc#1094657) + +------------------------------------------------------------------- +Thu May 24 12:47:16 UTC 2018 - kasim...@outlook.de --- /work/SRC/openSUSE:Factory/dapl/dapl.changes 2018-05-29 10:43:20.599983517 +0200 +++ /work/SRC/openSUSE:Factory/.dapl.new/dapl.changes 2018-06-02 12:13:49.796289031 +0200 @@ -1,0 +2,7 @@ +Tue May 29 06:04:37 UTC 2018 - nmoreychaisemar...@suse.com + +- Add ucm-mcm-fix-backlog-parameter-for-socket.patch to fix + a "deadlock" that causes socket connection to timeout when + net.ipv4.tcp_syncookies=0. (bsc#1094657) + +------------------------------------------------------------------- New: ---- ucm-mcm-fix-backlog-parameter-for-socket.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dapl-debug.spec ++++++ --- /var/tmp/diff_new_pack.iagzLs/_old 2018-06-02 12:13:50.740254408 +0200 +++ /var/tmp/diff_new_pack.iagzLs/_new 2018-06-02 12:13:50.744254261 +0200 @@ -1,7 +1,7 @@ # # spec file for package dapl-debug # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define git_version %nil Name: dapl-debug Summary: A Library for userspace access to RDMA devices using OS Agnostic DAT APIs -License: BSD-3-Clause or GPL-2.0+ or CPL-1.0 +License: BSD-3-Clause OR GPL-2.0-or-later OR CPL-1.0 Group: Productivity/Networking/System Version: 2.1.10 Release: 0 @@ -32,6 +32,7 @@ Patch7: dapl-fsf_address.patch Patch12: dapl-s390.patch Patch13: dapl-add-arm-platform-support.patch +Patch14: ucm-mcm-fix-backlog-parameter-for-socket.patch Url: http://www.openfabrics.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -130,6 +131,7 @@ %patch7 %patch12 %patch13 +%patch14 %build %if %suse_version == 1110 ++++++ dapl.spec ++++++ --- /var/tmp/diff_new_pack.iagzLs/_old 2018-06-02 12:13:50.768253381 +0200 +++ /var/tmp/diff_new_pack.iagzLs/_new 2018-06-02 12:13:50.768253381 +0200 @@ -1,7 +1,7 @@ # # spec file for package dapl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define git_version %nil Name: dapl Summary: A Library for userspace access to RDMA devices using OS Agnostic DAT APIs -License: BSD-3-Clause or GPL-2.0+ or CPL-1.0 +License: BSD-3-Clause OR GPL-2.0-or-later OR CPL-1.0 Group: Productivity/Networking/System Version: 2.1.10 Release: 0 @@ -32,6 +32,7 @@ Patch7: dapl-fsf_address.patch Patch12: dapl-s390.patch Patch13: dapl-add-arm-platform-support.patch +Patch14: ucm-mcm-fix-backlog-parameter-for-socket.patch Url: http://www.openfabrics.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -130,6 +131,7 @@ %patch7 %patch12 %patch13 +%patch14 %build %if %suse_version == 1110 ++++++ ucm-mcm-fix-backlog-parameter-for-socket.patch ++++++ commit 40264438e5320d4bf2cde5d8c1c2ddc4637d3042 Author: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> Date: Tue May 29 07:53:52 2018 +0200 ucm, mcm: fix backlog parameter for socket Using listen(, 0) forces a synchronization barrier between connect and accept if net.ipv4.tcp_syncookies. As this is done by a single thread, it causes connect to timeout with a similar message: open_hca: failed to init cr pipe - Connection timed out Replace with listen(, 1) so the kernel can accept the connection itself and remove the synchronisation point. Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> diff --git dapl/openib_mcm/device.c dapl/openib_mcm/device.c index 2e30221ac2d2..5ea25615f683 100644 --- dapl/openib_mcm/device.c +++ dapl/openib_mcm/device.c @@ -59,7 +59,7 @@ static int32_t create_os_signal(IN DAPL_HCA * hca_ptr) if (ret) goto err1; - ret = listen(listen_socket, 0); + ret = listen(listen_socket, 1); if (ret) goto err1; diff --git dapl/openib_ucm/device.c dapl/openib_ucm/device.c index 11f7334ec348..9e257835f44b 100644 --- dapl/openib_ucm/device.c +++ dapl/openib_ucm/device.c @@ -92,7 +92,7 @@ static int32_t create_os_signal(IN DAPL_HCA * hca_ptr) if (ret) goto err1; - ret = listen(listen_socket, 0); + ret = listen(listen_socket, 1); if (ret) goto err1;