From owner-cvs-src@FreeBSD.ORG Thu Jan 10 11:45:00 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C38616A41A; Thu, 10 Jan 2008 11:45:00 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 25AAC13C45A; Thu, 10 Jan 2008 11:45:00 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id EA1041C80C6; Thu, 10 Jan 2008 13:23:51 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 0C8F11C80BE; Thu, 10 Jan 2008 13:23:48 +0200 (EET) From: Nikos Vassiliadis To: cvs-all@freebsd.org Date: Thu, 10 Jan 2008 13:23:52 +0200 User-Agent: KMail/1.9.7 References: <200801091538.m09Fcn0w050430@repoman.freebsd.org> <200801091554.m09FsnUC049542@lava.sentex.ca> In-Reply-To: <200801091554.m09FsnUC049542@lava.sentex.ca> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801101323.53589.nvass@teledomenet.gr> Cc: Maxime Henrion , cvs-src@freebsd.org, src-committers@freebsd.org, Mike Tancsa Subject: Re: cvs commit: src/sys/net route.c route.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 11:45:00 -0000 On Wednesday 09 January 2008 17:54:48 Mike Tancsa wrote: > At 10:38 AM 1/9/2008, Maxime Henrion wrote: > >mux 2008-01-09 15:38:49 UTC > > > > FreeBSD src repository > > > > Modified files: (Branch: RELENG_6) > > sys/net route.c route.h > > Log: > > MFC route.c@1.125 and route.h@1.68: > > Add a workaround for a deadlock between the rt_setgate() and > > rt_check() functions. It is easily triggered by running routed, and, > > I expect, by running any other daemon that uses routing sockets. > > Hi, > I have a number of boxes running full bgp tables with > Quagga. How does the deadlock manifest itself ? I havent seen the > boxes lockup ? I was using routed over a UDP tunnel (/usr/share/examples/netgraph/udp.tunnel) to distribute routing information over some DSL lines. This stopped working when I upgraded one of the routers to FreeBSD-6. I never reported it, feeling that the setup(PPPoE + netgraph UDP tunnel + routed) to reproduce it, is somehow complicated. It seems that after Maxime's changes, the deadlock I was seeing is gone. Testing a similar setup, seems to work, as it did in the pre-FBSD-6 days. Nikos