Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 21:51:47 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net if_stf.c src/sys/netinet if_ether.c in_gif.c src/sys/netinet6 in6.c in6_gif.c in6_ifattach.c nd6.c nd6_nbr.c
Message-ID:  <200908252152.n7PLqPEX025219@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-08-25 21:51:47 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_stf.c 
    sys/netinet          if_ether.c in_gif.c 
    sys/netinet6         in6.c in6_gif.c in6_ifattach.c nd6.c 
                         nd6_nbr.c 
  Log:
  SVN rev 196557 on 2009-08-25 21:51:47Z by bz
  
  MFC r185713 (from csjp):
  
    in_rtalloc1(9) returns a locked route, so make sure that we use
    RTFREE_LOCKED() here.  This macro makes sure the reference count
    on the route is being managed properly.
  
  MFC r187946:
    Like with r185713 make sure to not leak a lock as rtalloc1(9) returns
    a locked route. Thus we have to use RTFREE_LOCKED(9) to get it either
    rtfree(9)d or the reference count decremented and unlocked depending on
    the reference count. [Note: the original commit message was bogus here].
  
  RELENG_6 had a few more places that either had changed or were already
  fixed in HEAD/7 at the time above revisions were done so just fixed them
  along with the MFCs.
  
  Revision    Changes    Path
  1.50.2.3    +2 -2      src/sys/net/if_stf.c
  1.137.2.17  +4 -4      src/sys/netinet/if_ether.c
  1.31.2.5    +2 -2      src/sys/netinet/in_gif.c
  1.51.2.14   +3 -3      src/sys/netinet6/in6.c
  1.22.2.5    +2 -2      src/sys/netinet6/in6_gif.c
  1.26.2.10   +1 -1      src/sys/netinet6/in6_ifattach.c
  1.48.2.22   +1 -1      src/sys/netinet6/nd6.c
  1.29.2.12   +1 -1      src/sys/netinet6/nd6_nbr.c



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