Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 10/08/2000 05:05:48
Module Name:	syssrc
Committed By:	itojun
Date:		Sun Oct  8 02:05:48 UTC 2000

Modified Files:
	syssrc/sys/netinet: in.c in_var.h

Log Message:
implement multicast kludge table for IPv4.
- when all the interface address is removed from an interface, and there's
  multicast groups still left joined, keep it in kludge table.
- when an interface address is added again, recover multicast groups from
  kludge table.
this will avoid problem with dangling in_ifaddr on pcmcia card removal,
due to the link from multicast group info (in_multi).

the code is basically from sys/netinet6/in6.c (jinmei@kame).

pointed out by: Shiva Shenoy <shiva_s@yahoo.com>


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 syssrc/sys/netinet/in.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/netinet/in_var.h

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