diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-27 18:35:10 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-27 18:35:10 +0000 |
commit | e7e3ecb6c3fea4322e9b1d7e3d9df0bac35a1204 (patch) | |
tree | 18a17ae253a898ae3c0f806ffcac56e641d9346f /sys/netinet6/raw_ip6.c | |
parent | c107f9e04ffbcb511ebb8d6ee361ebd159232d69 (diff) | |
download | src-e7e3ecb6c3fea4322e9b1d7e3d9df0bac35a1204.tar.gz src-e7e3ecb6c3fea4322e9b1d7e3d9df0bac35a1204.zip |
At detaching IPv6 raw socket, also finish IPv6 multicast router.
Approved by: jkh
Submitted by: fenner
Notes
Notes:
svn path=/head/; revision=57535
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-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 bc881ac76436..9fb94d5ffe08 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; |