Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 10/17/2000 03:45:37
Module Name:	syssrc
Committed By:	tv
Date:		Tue Oct 17 00:45:37 UTC 2000

Modified Files:
	syssrc/sys/netinet [netbsd-1-5]: in.c

Log Message:
Pullup 1.65 [enami]:
- Keep track of allhost multicast address record we joined into
  each in_ifaddr and delete it when an address is purged.
- Don't simply try to delete a multicast address record listed in the
  ia_multiaddrs.  It results a dangling pointer.  Let who holds a
  reference to it to delete it.

Also 1.64 [itojun, req by enami]:
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).


To generate a diff of this commit:
cvs rdiff -r1.61.4.2 -r1.61.4.3 syssrc/sys/netinet/in.c

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