[vyatta-svn] xorp: Changes to 'master'

Mike Larson mike at suva.vyatta.com
Fri Apr 13 13:40:41 PDT 2007


 libxipc/vrrpd.cc |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

New commits:
commit a3f818408dd4d0cd57107111dd25bc9e7d37f4c6
Author: Mike Larson <mike at phuket.vyatta.com>
Date:   Fri Apr 13 13:40:23 2007 -0700

    fix for bug 1864. Problem occurs when linkstate is down and has been down for roughly over an hour. The problem occurs where a counter overflows a 32bit int. In this case the overflow causes a large timeout value for the subsequent select statement and therefore blocking the xorp eventloop.
    
    This then causes the rtrmgr to kill the connection to vrrp and vrrp no longer can insert/withdraw addressses and mac addresses.
    
    The fix is to promote the calculation to a 64 bit value and clamp the final value to the max value of a 32 bit int for the select statement calculation.

http://suva.vyatta.com/git/?p=xorp.git;a=commitdiff;h=a3f818408dd4d0cd57107111dd25bc9e7d37f4c6


More information about the svn mailing list