diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-01-15 09:09:28 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-01-15 09:09:28 +0000 |
commit | 18a6395263a86a45606a916a5fa4be9ae77e9f11 (patch) | |
tree | de5203ca27241659c8f6efc6b7930e5b8b1f4f9c /sys/netinet/in_var.h | |
parent | 126fa55724c3f9752c0a81bed9525ce32db3c65d (diff) |
From NetBSD:
- 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 whoever holds a
reference to it to delete it.
mcbride@ markus@ ok
Diffstat (limited to 'sys/netinet/in_var.h')
-rw-r--r-- | sys/netinet/in_var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index 8817d53c7ce..95aa7c27f9c 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_var.h,v 1.7 2003/12/10 07:22:43 itojun Exp $ */ +/* $OpenBSD: in_var.h,v 1.8 2005/01/15 09:09:27 pascoe Exp $ */ /* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */ /* @@ -59,6 +59,8 @@ struct in_ifaddr { #define ia_broadaddr ia_dstaddr struct sockaddr_in ia_sockmask; /* reserve space for general netmask */ LIST_HEAD(, in_multi) ia_multiaddrs; /* list of multicast addresses */ + struct in_multi *ia_allhosts; /* multicast address record for + the allhosts multicast group */ }; struct in_aliasreq { |