Subject: CVS commit: src/sys/netinet
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 06/15/2003 02:49:35
Module Name: src
Committed By: matt
Date: Sun Jun 15 02:49:35 UTC 2003
Modified Files:
src/sys/netinet: igmp.c igmp_var.h in.c in_pcb.c in_pcb.h in_var.h
ip_input.c ip_var.h tcp_input.c udp_usrreq.c
Log Message:
Change the way multicasts are kept. They now use a hash table in the same
manner as the ifaddr hash table. By doing this, the mkludge code can go
away. At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source. Switch IGMP and multicasts to use pools
for allocation. Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/netinet/igmp.c src/sys/netinet/in_pcb.h
cvs rdiff -r1.14 -r1.15 src/sys/netinet/igmp_var.h
cvs rdiff -r1.83 -r1.84 src/sys/netinet/in.c
cvs rdiff -r1.81 -r1.82 src/sys/netinet/in_pcb.c
cvs rdiff -r1.44 -r1.45 src/sys/netinet/in_var.h
cvs rdiff -r1.165 -r1.166 src/sys/netinet/ip_input.c
cvs rdiff -r1.51 -r1.52 src/sys/netinet/ip_var.h
cvs rdiff -r1.168 -r1.169 src/sys/netinet/tcp_input.c
cvs rdiff -r1.99 -r1.100 src/sys/netinet/udp_usrreq.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.