svn commit: r505996 - in head/net/quagga: . files
Eugene Grosbein
eugen at FreeBSD.org
Sat Jul 6 14:08:38 UTC 2019
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);
More information about the svn-ports-head
mailing list