No subject



Wed Dec 18 15:22:18 2002
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 18 Dec 2002 15:23:08 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.3/8.12.3) with ESMTP id gBINN8h1062786
	for <atanu@tigger.icir.org>; Wed, 18 Dec 2002 15:23:08 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id gBINN2wP030763
	for <atanu@icir.org>; Wed, 18 Dec 2002 15:23:02 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id PAA04659
	for <atanu@icsi.berkeley.edu>; Wed, 18 Dec 2002 15:23:02 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id PAA04634
	for <xorp-cvs@icsi.berkeley.edu>; Wed, 18 Dec 2002 15:22:19 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id gBINMIwP030758
	for <xorp-cvs@icir.org>; Wed, 18 Dec 2002 15:22:18 -0800 (PST)
	(envelope-from atanu@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.3/8.12.3) with ESMTP id gBINMITO041552
	for <xorp-cvs@icir.org>; Wed, 18 Dec 2002 15:22:18 -0800 (PST)
	(envelope-from atanu@xorpc.icir.org)
Received: (from atanu@localhost)
	by xorpc.icir.org (8.12.3/8.12.3/Submit) id gBINMIJD041551;
	Wed, 18 Dec 2002 15:22:18 -0800 (PST)
	(envelope-from atanu)
From: Atanu Ghosh <atanu@icir.org>
Message-Id: <200212182322.gBINMIJD041551@xorpc.icir.org>
Date:     Wed, 18 Dec 2002 15:22:18  ()
To: xorp-cvs@icir.org
Reply-To: atanu@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp/ next_hop_resolver.cc next_hop_resolver.hh  	           test_next_hop_resolver.cc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Repository:	xorp/bgp/
Changes by:	atanu@xorpc.icir.org.	02/12/18 15:22:18

Modified files:
	xorp/bgp/: next_hop_resolver.cc next_hop_resolver.hh 
	           test_next_hop_resolver.cc 

Log message:
	1) If a next hop changed and we re-registered interest with the RIB,
	in the case that the next hop stayed unresolvable and the metric
	change we were incorrectly calling the decision process. Moved this
	test into a separate function.
	
	2) The soak tests were repeatedly hitting a recently added assertion
	in "register_nexthop" that the reference count could not be zero. This
	could happen if a next hop became invalid and we de-registered
	interest before the response from the RIB.
	
	Added tests to detect the problems described above.

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs