Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf s/npf_config_lock/npf->config_lock/ in the comments



details:   https://anonhg.NetBSD.org/src/rev/6b1983c0eba1
branches:  trunk
changeset: 950348:6b1983c0eba1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 25 17:18:55 2021 +0000

description:
s/npf_config_lock/npf->config_lock/ in the comments

diffstat:

 sys/net/npf/npf_conn.c     |  4 ++--
 sys/net/npf/npf_tableset.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 26d8bec845ba -r 6b1983c0eba1 sys/net/npf/npf_conn.c
--- a/sys/net/npf/npf_conn.c    Mon Jan 25 17:17:19 2021 +0000
+++ b/sys/net/npf/npf_conn.c    Mon Jan 25 17:18:55 2021 +0000
@@ -97,14 +97,14 @@
  *
  * Lock order
  *
- *     npf_config_lock ->
+ *     npf->config_lock ->
  *             conn_lock ->
  *                     npf_conn_t::c_lock
  */
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.32 2020/05/30 14:16:56 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.33 2021/01/25 17:18:55 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
diff -r 26d8bec845ba -r 6b1983c0eba1 sys/net/npf/npf_tableset.c
--- a/sys/net/npf/npf_tableset.c        Mon Jan 25 17:17:19 2021 +0000
+++ b/sys/net/npf/npf_tableset.c        Mon Jan 25 17:18:55 2021 +0000
@@ -46,7 +46,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_tableset.c,v 1.35 2020/05/30 14:16:56 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_tableset.c,v 1.36 2021/01/25 17:18:55 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -101,7 +101,7 @@
 
        /*
         * Table ID, type and lock.  The ID may change during the
-        * config reload, it is protected by the npf_config_lock.
+        * config reload, it is protected by the npf->config_lock.
         */
        int                     t_type;
        unsigned                t_id;



Home | Main Index | Thread Index | Old Index