Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 11:18:18 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net route.c
Message-ID:  <200902251118.n1PBIZeN046399@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-02-25 11:18:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/net              route.c 
  Log:
  SVN rev 189029 on 2009-02-25 11:18:18Z by rwatson
  
  Correct a deadlock and a rtentry leak in rt_check():
  
  - In the event that a gateway route has to be looked up, drop the lock
    on 'rt' before reacquiring it 'rt0' in order to avoid deadlock.
  
  - In the event the original route has evaporated or is no longer up
    after the gateway route lookup, call RTFREE() on the gateway route
    before retrying.
  
  This is a potential errata candidate patch.
  
  PR:             kern/130652
  Submitted by:   Dmitrij Tejblum <tejblum at yandex-team.ru>
  Reviewed by:    bz
  Tested by:      Pete French <petefrench at ticketswitch.com>
  
  Revision   Changes    Path
  1.120.2.9  +15 -8     src/sys/net/route.c



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