diff options
author | syrinx <syrinx@FreeBSD.org> | 2010-01-24 16:17:58 +0000 |
---|---|---|
committer | syrinx <syrinx@FreeBSD.org> | 2010-01-24 16:17:58 +0000 |
commit | 40d92428fb5aa102b7ab0489b9b39e999c4bab8e (patch) | |
tree | a651df091a85231247b0aa8d6f7042ce9ff2ef4c /sys/net/if_var.h | |
parent | f346ef85e4ce0941c071f15688f353cb189a5b3b (diff) | |
download | FreeBSD-src-40d92428fb5aa102b7ab0489b9b39e999c4bab8e.zip FreeBSD-src-40d92428fb5aa102b7ab0489b9b39e999c4bab8e.tar.gz |
While flushing the multicast filter of an interface, do not zero the relevant
ifmultiaddr structures' reference to the parent interface, unless the parent
interface is really detaching. While here, program only link layer multicast
filters to a wlan's hardware parent interface.
PR: kern/142391, kern/142392
Reviewed by: sam, rpaolo, bms
MFC after: 1 week
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 87ad1a2..9ea533b 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -833,7 +833,7 @@ void if_delmulti_ifma(struct ifmultiaddr *); void if_detach(struct ifnet *); void if_vmove(struct ifnet *, struct vnet *); void if_purgeaddrs(struct ifnet *); -void if_purgemaddrs(struct ifnet *); +void if_delallmulti(struct ifnet *); void if_down(struct ifnet *); struct ifmultiaddr * if_findmulti(struct ifnet *, struct sockaddr *); |