Source-Changes-HG archive

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

[src/trunk]: src/sys Make NOMPSAFE comments informative



details:   https://anonhg.NetBSD.org/src/rev/fb0510161c6e
branches:  trunk
changeset: 351524:fb0510161c6e
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Feb 17 04:31:34 2017 +0000

description:
Make NOMPSAFE comments informative

diffstat:

 sys/net/route.c         |  6 +++---
 sys/netinet/ip_output.c |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 7fea04e9b3f5 -r fb0510161c6e sys/net/route.c
--- a/sys/net/route.c   Fri Feb 17 03:57:17 2017 +0000
+++ b/sys/net/route.c   Fri Feb 17 04:31:34 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.190 2017/02/10 13:48:06 ozaki-r Exp $      */
+/*     $NetBSD: route.c,v 1.191 2017/02/17 04:31:34 ozaki-r 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.190 2017/02/10 13:48:06 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.191 2017/02/17 04:31:34 ozaki-r Exp $");
 
 #include <sys/param.h>
 #ifdef RTFLUSH_DEBUG
@@ -1163,7 +1163,7 @@
                return NULL;
 got:
        if (ifa->ifa_getifa != NULL) {
-               /* FIXME NOMPSAFE */
+               /* FIXME ifa_getifa is NOMPSAFE */
                ifa = (*ifa->ifa_getifa)(ifa, dst);
                if (ifa == NULL)
                        return NULL;
diff -r 7fea04e9b3f5 -r fb0510161c6e sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Fri Feb 17 03:57:17 2017 +0000
+++ b/sys/netinet/ip_output.c   Fri Feb 17 04:31:34 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.270 2017/02/13 04:06:39 ozaki-r Exp $  */
+/*     $NetBSD: ip_output.c,v 1.271 2017/02/17 04:31:34 ozaki-r Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.270 2017/02/13 04:06:39 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.271 2017/02/17 04:31:34 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -432,7 +432,7 @@
                        xifa = &xia->ia_ifa;
                        if (xifa->ifa_getifa != NULL) {
                                ia4_release(xia, &_psref);
-                               /* FIXME NOMPSAFE */
+                               /* FIXME ifa_getifa is NOMPSAFE */
                                xia = ifatoia((*xifa->ifa_getifa)(xifa, rdst));
                                if (xia == NULL) {
                                        error = EADDRNOTAVAIL;
@@ -502,7 +502,7 @@
                xifa = &ia->ia_ifa;
                if (xifa->ifa_getifa != NULL) {
                        ia4_release(ia, &psref_ia);
-                       /* FIXME NOMPSAFE */
+                       /* FIXME ifa_getifa is NOMPSAFE */
                        ia = ifatoia((*xifa->ifa_getifa)(xifa, rdst));
                        if (ia == NULL) {
                                error = EADDRNOTAVAIL;



Home | Main Index | Thread Index | Old Index