Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 11/11/2003 20:33:46
Module Name: src
Committed By: drochner
Date: Tue Nov 11 20:33:46 UTC 2003
Modified Files:
src/sys/net: if.c
Log Message:
fix interface address list traversal in if_detach():
The code was assuming that interface addresses are removed one-by-one.
With IPv6 and multicasts, removal of one address can remove other
addresses as side effect, which caused accesses of free()d memory.
To generate a diff of this commit:
cvs rdiff -r1.133 -r1.134 src/sys/net/if.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.