cvs commit: src/sys/netinet6 nd6.c

gnn at FreeBSD.org gnn at FreeBSD.org
Mon Nov 27 03:13:25 PST 2006


At Sat, 25 Nov 2006 20:38:56 +0000 (UTC),
Ruslan Ermilov wrote:
> 
> 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 at .
>   
>   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

I wonder is this will fix a few of the more odd panic's we've seen in
ND.  Kris ought to try to test this.

Later,
Georfge



More information about the cvs-src mailing list