summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-05-29 00:17:32 +0000
committerthib <thib@openbsd.org>2007-05-29 00:17:32 +0000
commit5e18f1535bb54e0198255569ce0c0264b6c75d74 (patch)
tree66d3021732696695df5afdee66ff8071f6f82096 /sys/net/pf_ioctl.c
parentput commented out entry for kern.nosuidcoredump=2 in, yes theo & tedu (diff)
downloadwireguard-openbsd-5e18f1535bb54e0198255569ce0c0264b6c75d74.tar.xz
wireguard-openbsd-5e18f1535bb54e0198255569ce0c0264b6c75d74.zip
Add a name argument to the RWLOCK_INITIALIZER macro.
Pick reasonble names for the locks involved.. ok tedu@, art@
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 5694717f609..f6a20e71751 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.175 2007/02/26 22:47:43 deraadt Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.176 2007/05/29 00:17:32 thib Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -111,7 +111,7 @@ void pf_hash_rule_addr(MD5_CTX *, struct pf_rule_addr *);
int pf_commit_rules(u_int32_t, int, char *);
struct pf_rule pf_default_rule;
-struct rwlock pf_consistency_lock = RWLOCK_INITIALIZER;
+struct rwlock pf_consistency_lock = RWLOCK_INITIALIZER("pfcnslk");
#ifdef ALTQ
static int pf_altq_running;
#endif