Module Name:    src
Committed By:   ozaki-r
Date:           Tue Oct 18 02:45:41 UTC 2016

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

Log Message:
Add missing pserialize_read_exit


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/netinet6/in6_ifattach.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/in6_ifattach.c
diff -u src/sys/netinet6/in6_ifattach.c:1.105 src/sys/netinet6/in6_ifattach.c:1.106
--- src/sys/netinet6/in6_ifattach.c:1.105	Tue Aug 16 10:31:57 2016
+++ src/sys/netinet6/in6_ifattach.c	Tue Oct 18 02:45:41 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: in6_ifattach.c,v 1.105 2016/08/16 10:31:57 roy Exp $	*/
+/*	$NetBSD: in6_ifattach.c,v 1.106 2016/10/18 02:45:41 ozaki-r 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.105 2016/08/16 10:31:57 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.106 2016/10/18 02:45:41 ozaki-r Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -492,6 +492,7 @@ get_ifid(struct ifnet *ifp0, struct ifne
 			nd6log(LOG_DEBUG,
 			    "%s: borrow interface identifier from %s\n",
 			    if_name(ifp0), if_name(ifp));
+			pserialize_read_exit(s);
 			goto success;
 		}
 	}

Reply via email to