freebsd-nq/sys/netinet
Bruce M Simpson f7e083af90 Fix a bug in IPv4 address configuration exposed by refcounting.
* Join the IPv4 all-hosts multicast group 224.0.0.1 once only;
   that is, when an IPv4 address is first configured on an interface.
 * Do not join it for subsequent IPv4 addresses as this violates IGMP.
 * Be sure to leave the group when all IPv4 addresses have been removed
   from the interface.
 * Add two DIAGNOSTIC printfs related to the issue.

Further care and attention is needed in this area; it is suggested that
netinet's attachment to the ifnet structure be compartmentalized and
non-implicit.

Bug found by:	andre
MFC after:	1 month
2007-03-29 21:39:22 +00:00
..
libalias o made in kernel libalias mpsafe 2006-12-15 12:50:06 +00:00
accf_data.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c Remove global list of all llinfo_arp entries and use a callout per 2007-03-22 10:37:53 +00:00
if_ether.h
igmp_var.h
igmp.c Improve style(9) conformance of igmp.c. 2006-12-04 00:41:48 +00:00
igmp.h
in_cksum.c
in_gif.c
in_gif.h
in_pcb.c #ifdef INET6 printing of inpcb IPv6 addresses in DDB. Patch committed 2007-02-18 08:57:23 +00:00
in_pcb.h Remove stale comment about not enabling inpcb and inpcbinfo lock assertions 2007-03-28 00:50:20 +00:00
in_proto.c Build PIM by default as part of the IPv4 multicast forwarding path. 2007-02-10 13:59:13 +00:00
in_rmx.c
in_systm.h
in_var.h Implement reference counting for ifmultiaddr, in_multi, and in6_multi 2007-03-20 00:36:10 +00:00
in.c Fix a bug in IPv4 address configuration exposed by refcounting. 2007-03-29 21:39:22 +00:00
in.h Add INADDR_ALLRPTS_GROUP define for 224.0.0.22 for future IGMPv3 support. 2007-02-27 14:45:37 +00:00
ip6.h
ip_carp.c Since rev. 1.94 of netinet/in.c, the netinet layer frees all its 2007-02-02 09:39:09 +00:00
ip_carp.h Make sure that carp_header is 36 bytes long 2006-12-01 18:37:41 +00:00
ip_divert.c Some whitespace nits and remove a few casts. 2006-12-29 14:58:18 +00:00
ip_divert.h
ip_dummynet.c
ip_dummynet.h
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c In IPv4 fast forwarding path, send ICMP unreachable messages for 2007-03-18 23:05:20 +00:00
ip_fw2.c Include opt_ipdivert.h so that the message announcing ipfw correctly 2007-02-03 22:11:53 +00:00
ip_fw_pfil.c Summer of Code 2005: improve libalias - part 2 of 2 2006-12-29 21:59:17 +00:00
ip_fw.h Summer of Code 2005: improve libalias - part 2 of 2 2006-12-29 21:59:17 +00:00
ip_gre.c
ip_gre.h
ip_icmp.c
ip_icmp.h
ip_id.c
ip_input.c Replace a comment about RSVP/mrouting with a different but similar comment 2007-03-25 21:49:50 +00:00
ip_ipsec.c
ip_ipsec.h
ip_mroute.c Diff reduction with NetBSD; use IN_LOCAL_GROUP() to check if an address 2007-03-15 08:44:22 +00:00
ip_mroute.h Store the cached route in vifp in the normal send_packet() case. 2007-02-08 23:05:08 +00:00
ip_options.c
ip_options.h
ip_output.c Purge two redundant case labels. 2007-03-23 09:43:36 +00:00
ip_var.h
ip.h Marking this as __packed was needed to get the alignment and offset of 2007-01-12 07:23:31 +00:00
ipprotosw.h
pim_var.h
pim.h
raw_ip.c Increase default size of raw IP send and receive buffers to the same as 2007-03-20 13:15:20 +00:00
sctp_asconf.c - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_asconf.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_auth.c - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_auth.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_bsd_addr.c - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_bsd_addr.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_constants.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_crc32.c - Copyright updates (aka 2007) 2007-02-12 23:24:31 +00:00
sctp_crc32.h - most all includes (#include <>) migrate to the sctp_os_bsd.h file 2007-01-18 09:58:43 +00:00
sctp_header.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_indata.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_indata.h - most all includes (#include <>) migrate to the sctp_os_bsd.h file 2007-01-18 09:58:43 +00:00
sctp_input.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_input.h - most all includes (#include <>) migrate to the sctp_os_bsd.h file 2007-01-18 09:58:43 +00:00
sctp_lock_bsd.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_os_bsd.h - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_os.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_output.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_output.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_pcb.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_pcb.h Adds a hash table to speed local address lookup 2007-03-19 11:11:16 +00:00
sctp_peeloff.c - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_peeloff.h - most all includes (#include <>) migrate to the sctp_os_bsd.h file 2007-01-18 09:58:43 +00:00
sctp_structs.h - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_sysctl.c - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_sysctl.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_timer.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_timer.h - most all includes (#include <>) migrate to the sctp_os_bsd.h file 2007-01-18 09:58:43 +00:00
sctp_uio.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctp_usrreq.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctp_var.h - errno -> becomes error in sctp_output.c and sctputil.c 2007-03-19 06:53:02 +00:00
sctp.h - Sysctl's move to seperate file 2007-03-15 11:27:14 +00:00
sctputil.c - window update sacks sent incorrectly after 2007-03-20 10:23:11 +00:00
sctputil.h Adds a hash table to speed local address lookup 2007-03-19 11:11:16 +00:00
tcp_debug.c
tcp_debug.h o Use a define for a buffer size. 2007-03-24 22:15:02 +00:00
tcp_fsm.h
tcp_hostcache.c Match up SYSCTL declarations in style. 2007-03-21 19:34:12 +00:00
tcp_input.c When blackholing do a 'dropunlock' in the new world order to prevent the 2007-03-28 12:58:13 +00:00
tcp_output.c ANSIfy function declarations and remove register keywords for variables. 2007-03-21 19:37:55 +00:00
tcp_reass.c When blackholing do a 'dropunlock' in the new world order to prevent the 2007-03-28 12:58:13 +00:00
tcp_sack.c In tcp_sack_doack() remove too tight KASSERT() added in last revision. This 2007-03-25 23:27:26 +00:00
tcp_seq.h
tcp_subr.c ANSIfy function declarations and remove register keywords for variables. 2007-03-21 19:37:55 +00:00
tcp_syncache.c Unbreak IPv6 after consolidation of TCP options insertion. 2007-03-17 11:52:54 +00:00
tcp_timer.c ANSIfy function declarations and remove register keywords for variables. 2007-03-21 19:37:55 +00:00
tcp_timer.h Reap FIN_WAIT_2 connections marked SOCANTRCVMORE faster. This mitigate 2007-02-26 22:25:21 +00:00
tcp_timewait.c ANSIfy function declarations and remove register keywords for variables. 2007-03-21 19:37:55 +00:00
tcp_usrreq.c ANSIfy function declarations and remove register keywords for variables. 2007-03-21 19:37:55 +00:00
tcp_var.h Remove tcp_minmssoverload DoS detection logic. The problem it tried to 2007-03-21 18:05:54 +00:00
tcp.h Remove tcp_minmssoverload DoS detection logic. The problem it tried to 2007-03-21 18:05:54 +00:00
tcpip.h
udp_usrreq.c Fix IP_SENDSRCADDR semantics. 2007-03-08 15:26:54 +00:00
udp_var.h Rename two identically named log_in_vain variables: tcp_input.c's static 2007-02-20 10:20:03 +00:00
udp.h Gratuitous UDP restyling toward style(9) in 7.x. 2007-02-20 10:13:11 +00:00