Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Add missing pserialize_read_exit



details:   https://anonhg.NetBSD.org/src/rev/1c001648631d
branches:  trunk
changeset: 818556:1c001648631d
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Oct 18 02:45:41 2016 +0000

description:
Add missing pserialize_read_exit

diffstat:

 sys/netinet6/in6_ifattach.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9d6e75741e25 -r 1c001648631d sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c       Tue Oct 18 01:32:56 2016 +0000
+++ b/sys/netinet6/in6_ifattach.c       Tue Oct 18 02:45:41 2016 +0000
@@ -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 @@
                        nd6log(LOG_DEBUG,
                            "%s: borrow interface identifier from %s\n",
                            if_name(ifp0), if_name(ifp));
+                       pserialize_read_exit(s);
                        goto success;
                }
        }



Home | Main Index | Thread Index | Old Index