Date: Sat, 6 Jul 2019 14:08:35 +0000 (UTC) From: Eugene Grosbein <eugen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505996 - in head/net/quagga: . files Message-ID: <201907061408.x66E8Zdk067028@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eugen Date: Sat Jul 6 14:08:35 2019 New Revision: 505996 URL: https://svnweb.freebsd.org/changeset/ports/505996 Log: net/quagga: unbreak ripd for 1.2.4 ripd is essentially non-functional in quagga-1.2.4 as it aborts on first announce timeout due to some threading logic bug. The problem was reported upstream over a year ago and ignored: https://bugzilla.quagga.net/show_bug.cgi?id=985 https://bugzilla.quagga.net/show_bug.cgi?id=1008 Add work-around that restores ripd stability. PR: 238760 Approved by: pi (maintainer timeout, 2 weeks) Added: head/net/quagga/files/patch-lib_thread.c (contents, props changed) Modified: head/net/quagga/Makefile Modified: head/net/quagga/Makefile ============================================================================== --- head/net/quagga/Makefile Sat Jul 6 13:42:34 2019 (r505995) +++ head/net/quagga/Makefile Sat Jul 6 14:08:35 2019 (r505996) @@ -3,7 +3,7 @@ PORTNAME= quagga PORTVERSION= 1.2.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net ipv6 MASTER_SITES= SAVANNAH Added: head/net/quagga/files/patch-lib_thread.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/quagga/files/patch-lib_thread.c Sat Jul 6 14:08:35 2019 (r505996) @@ -0,0 +1,11 @@ +--- lib/thread.c.orig 2018-02-19 21:24:55 UTC ++++ lib/thread.c +@@ -603,6 +603,8 @@ thread_add_fd (struct thread **thread_ar + static void + thread_add_unuse (struct thread *thread) + { ++ if (thread->type == THREAD_UNUSED) ++ return; + thread->type = THREAD_UNUSED; + assert (thread->master != NULL && thread != NULL); + assert (thread->next == NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907061408.x66E8Zdk067028>