Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by ozaki...



details:   https://anonhg.NetBSD.org/src/rev/6cbf2245327e
branches:  netbsd-8
changeset: 851565:6cbf2245327e
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Apr 05 14:41:07 2018 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #697):

        sys/net/route.c: revision 1.208

Kill remaining rt->rt_refcnt++

diffstat:

 sys/net/route.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1fecf0e95866 -r 6cbf2245327e sys/net/route.c
--- a/sys/net/route.c   Thu Apr 05 14:33:41 2018 +0000
+++ b/sys/net/route.c   Thu Apr 05 14:41:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.194.6.7 2018/03/13 13:27:10 martin Exp $   */
+/*     $NetBSD: route.c,v 1.194.6.8 2018/04/05 14:41:07 martin Exp $   */
 
 /*-
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.194.6.7 2018/03/13 13:27:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.194.6.8 2018/04/05 14:41:07 martin Exp $");
 
 #include <sys/param.h>
 #ifdef RTFLUSH_DEBUG
@@ -2124,7 +2124,7 @@
                        RT_UNLOCK();
                        return;
                }
-               rt->rt_refcnt++;
+               rt_ref(rt);
                splx(s);
                RT_UNLOCK();
 



Home | Main Index | Thread Index | Old Index