Source-Changes-HG archive

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

[src/trunk]: src/sys/net adjust comment - sosetopt() path doesn't take IFNET_...



details:   https://anonhg.NetBSD.org/src/rev/d5be8e7c1298
branches:  trunk
changeset: 971817:d5be8e7c1298
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue May 05 09:26:29 2020 +0000

description:
adjust comment - sosetopt() path doesn't take IFNET_LOCK()

diffstat:

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

diffs (27 lines):

diff -r 19fd4186ef9e -r d5be8e7c1298 sys/net/if.c
--- a/sys/net/if.c      Tue May 05 09:22:24 2020 +0000
+++ b/sys/net/if.c      Tue May 05 09:26:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.476 2020/05/05 09:22:24 jdolecek Exp $        */
+/*     $NetBSD: if.c,v 1.477 2020/05/05 09:26:29 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.476 2020/05/05 09:22:24 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.477 2020/05/05 09:26:29 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3794,7 +3794,7 @@
        /*
         * XXX NOMPSAFE - this calls if_ioctl without holding IFNET_LOCK()
         * in some cases - e.g. when called from vlan/netinet/netinet6 code
-        * directly rather than via sockopt/doifoictl()
+        * directly rather than via doifoictl()
         */
        ifreq_setaddr(cmd, &ifr, sa);
        rc = (*ifp->if_ioctl)(ifp, cmd, &ifr);



Home | Main Index | Thread Index | Old Index