Module Name:    src
Committed By:   kardel
Date:           Sat May 13 20:13:27 UTC 2017

Modified Files:
        src/sys/netinet6: mld6.c

Log Message:
avoid a double ifa_release() and thus a panic
when e. g. running ifmcstat
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/netinet6/mld6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet6/mld6.c
diff -u src/sys/netinet6/mld6.c:1.88 src/sys/netinet6/mld6.c:1.89
--- src/sys/netinet6/mld6.c:1.88	Thu Mar  2 09:48:20 2017
+++ src/sys/netinet6/mld6.c	Sat May 13 20:13:26 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: mld6.c,v 1.88 2017/03/02 09:48:20 ozaki-r Exp $	*/
+/*	$NetBSD: mld6.c,v 1.89 2017/05/13 20:13:26 kardel Exp $	*/
 /*	$KAME: mld6.c,v 1.25 2001/01/16 14:14:18 itojun Exp $	*/
 
 /*
@@ -102,7 +102,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mld6.c,v 1.88 2017/03/02 09:48:20 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mld6.c,v 1.89 2017/05/13 20:13:26 kardel Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1062,7 +1062,6 @@ in6_multicast_sysctl(SYSCTLFN_ARGS)
 		}
 
 		s = pserialize_read_enter();
-		ifa_release(ifa, &psref_ia);
 
 		break;
 	}

Reply via email to