Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2006 20:38:56 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet6 nd6.c
Message-ID:  <200611252038.kAPKcujf065998@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2006-11-25 20:38:56 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         nd6.c 
  Log:
  - In nd6_rtrequest(), when caching an rtentry, don't forget
    to add a reference to it; otherwise, we could later access
    a freed memory.  This is believed to fix panics some users
    were observing when running route6d(8), and is similar to
    the fix in sys/netinet/if_ether.c,v 1.139 by glebius@.
  
  PR:             kern/93910, kern/105437
  Testing by:     Wojciech Puchar (still ongoing)
  
  - Add rtentry locking to nd6_output() similar to rt_check().
  
  MFC after:      4 days
  
  Revision  Changes    Path
  1.72      +29 -9     src/sys/netinet6/nd6.c



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