Subject: CVS commit: src/sys/netinet6
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/29/2006 03:05:12
Module Name: src
Committed By: dyoung
Date: Wed Nov 29 03:05:12 UTC 2006
Modified Files:
src/sys/netinet6: mld6.c
Log Message:
Fix a spelling error.
Annotate a memory leak.
When copying one multicast address list to another, IFAREF before IFAFREE
to protect against using an ifaddr after (accidentally) freeing it.
LIST_REMOVE() a multicast address from its old list before
LIST_INSERT_HEAD() on its new list.
Do not count on in6_delmulti() removing its multicast-record argument
from the multicast address list that the record belongs to, because
clearly that is not what it (always) does.
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/sys/netinet6/mld6.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.