Module Name: src Committed By: christos Date: Mon Jan 25 17:18:55 UTC 2021
Modified Files: src/sys/net/npf: npf_conn.c npf_tableset.c Log Message: s/npf_config_lock/npf->config_lock/ in the comments To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/net/npf/npf_conn.c cvs rdiff -u -r1.35 -r1.36 src/sys/net/npf/npf_tableset.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/npf/npf_conn.c diff -u src/sys/net/npf/npf_conn.c:1.32 src/sys/net/npf/npf_conn.c:1.33 --- src/sys/net/npf/npf_conn.c:1.32 Sat May 30 10:16:56 2020 +++ src/sys/net/npf/npf_conn.c Mon Jan 25 12:18:55 2021 @@ -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> Index: src/sys/net/npf/npf_tableset.c diff -u src/sys/net/npf/npf_tableset.c:1.35 src/sys/net/npf/npf_tableset.c:1.36 --- src/sys/net/npf/npf_tableset.c:1.35 Sat May 30 10:16:56 2020 +++ src/sys/net/npf/npf_tableset.c Mon Jan 25 12:18:55 2021 @@ -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 @@ struct npf_table { /* * 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;