summaryrefslogtreecommitdiffstats
path: root/etc/network.subr
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-03-29 21:39:22 +0000
committerbms <bms@FreeBSD.org>2007-03-29 21:39:22 +0000
commit44f999134ffe53f466ccaa6b33fe11dc67c47746 (patch)
tree63a19ea2f8222ea1bd48a2dc80eb99332f4f56f6 /etc/network.subr
parent16df05c48d392cb31d976cc1797106b97760116d (diff)
downloadFreeBSD-src-44f999134ffe53f466ccaa6b33fe11dc67c47746.zip
FreeBSD-src-44f999134ffe53f466ccaa6b33fe11dc67c47746.tar.gz
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
Diffstat (limited to 'etc/network.subr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud