Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/netinet6 Pull up revision 1.55 via patch (requested...
details: https://anonhg.NetBSD.org/src/rev/ddbecd67bd9f
branches: netbsd-1-6
changeset: 530638:ddbecd67bd9f
user: tron <tron%NetBSD.org@localhost>
date: Mon Sep 01 07:39:51 2003 +0000
description:
Pull up revision 1.55 via patch (requested by itojun in ticket #1375):
on interface detach, clear multicast forwarding table. from kame
diffstat:
sys/netinet6/in6_ifattach.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 5cf935908f27 -r ddbecd67bd9f sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c Mon Sep 01 07:39:43 2003 +0000
+++ b/sys/netinet6/in6_ifattach.c Mon Sep 01 07:39:51 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_ifattach.c,v 1.41 2001/12/21 08:54:54 itojun Exp $ */
+/* $NetBSD: in6_ifattach.c,v 1.41.10.1 2003/09/01 07:39:51 tron Exp $ */
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.41 2001/12/21 08:54:54 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.41.10.1 2003/09/01 07:39:51 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -55,6 +55,7 @@
#include <netinet6/in6_ifattach.h>
#include <netinet6/ip6_var.h>
#include <netinet6/nd6.h>
+#include <netinet6/ip6_mroute.h>
#include <net/net_osdep.h>
@@ -829,6 +830,9 @@
short rtflags;
struct sockaddr_in6 sin6;
+ /* remove ip6_mrouter stuff */
+ ip6_mrouter_detach(ifp);
+
/* nuke prefix list. this may try to remove some of ifaddrs as well */
in6_purgeprefix(ifp);
Home |
Main Index |
Thread Index |
Old Index