diff options
author | shin <shin@FreeBSD.org> | 2000-02-27 18:35:10 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-27 18:35:10 +0000 |
commit | c76f9b4c03870ab31a83d4a808558163afeac060 (patch) | |
tree | ee36731ce6de3018e2d56a9d7f551440ab052927 /sys/netinet6 | |
parent | 198256e1732408f489456d9b0ce82e9e4acc91c5 (diff) | |
download | FreeBSD-src-c76f9b4c03870ab31a83d4a808558163afeac060.zip FreeBSD-src-c76f9b4c03870ab31a83d4a808558163afeac060.tar.gz |
At detaching IPv6 raw socket, also finish IPv6 multicast router.
Approved by: jkh
Submitted by: fenner
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index bc881ac..9fb94d5 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -503,6 +503,8 @@ rip6_detach(struct socket *so) if (inp == 0) panic("rip6_detach"); /* xxx: RSVP */ + if (so == ip6_mrouter) + ip6_mrouter_done(); if (inp->in6p_icmp6filt) { FREE(inp->in6p_icmp6filt, M_PCB); inp->in6p_icmp6filt = NULL; |