Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 13:28:41 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet in_pcb.c
Message-ID:  <200103042128.f24LSfQ59194@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2001/03/04 13:28:41 PST

  Modified files:
    sys/netinet          in_pcb.c 
  Log:
  During a flood, we don't call rtfree(), but we remove the entry ourselves.
  However, if the RTF_DELCLONE and RTF_WASCLONED condition passes, but the ref
  count is > 1, we won't decrement the count at all. This could lead to
  route entries never being deleted.
  
  Here, we call rtfree() not only if the initial two conditions fail, but
  also if the ref count is > 1 (and we therefore don't immediately delete
  the route, but let rtfree() handle it).
  
  This is an urgent MFC candidate. Thanks go to Mike Silbersack for the
  fix, once again. :-)
  
  Submitted by: Mike Silbersack <silby@silby.com>
  
  Revision  Changes    Path
  1.81      +8 -14     src/sys/netinet/in_pcb.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103042128.f24LSfQ59194>