Subject: CVS commit: src/sys/netinet6
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 05/17/2007 00:53:27
Module Name:	src
Committed By:	dyoung
Date:		Thu May 17 00:53:27 UTC 2007

Modified Files:
	src/sys/netinet6: nd6.c nd6.h nd6_nbr.c

Log Message:
Fix the memory leak reported in kern/36337.  Thanks Matthias Scheler
for the heads-up.  My fix is based on the following patches from
FreeBSD, however, I extracted the code into a subroutine,
nd6_llinfo_release_pkts():

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/nd6.c.diff?r1=1.48.2.18;r2=1.48.2.19
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/nd6_nbr.c.diff?r1=1.29.2.8;r2=1.29.2.9


To generate a diff of this commit:
cvs rdiff -r1.114 -r1.115 src/sys/netinet6/nd6.c
cvs rdiff -r1.46 -r1.47 src/sys/netinet6/nd6.h
cvs rdiff -r1.73 -r1.74 src/sys/netinet6/nd6_nbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.