artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bdff5a
)
Remove netlock assertion within PF_LOCK(). The netlock should be taken
author
mvs
<mvs@openbsd.org>
Thu, 24 Nov 2022 00:04:32 +0000
(
00:04
+0000)
committer
mvs
<mvs@openbsd.org>
Thu, 24 Nov 2022 00:04:32 +0000
(
00:04
+0000)
first, but only if both locks are taken.
ok dlg@ sashan@
sys/net/pfvar_priv.h
patch
|
blob
|
history
diff --git
a/sys/net/pfvar_priv.h
b/sys/net/pfvar_priv.h
index
1d67471
..
ec08d6c
100644
(file)
--- a/
sys/net/pfvar_priv.h
+++ b/
sys/net/pfvar_priv.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: pfvar_priv.h,v 1.2
1 2022/11/11 17:12:30 dlg
Exp $ */
+/* $OpenBSD: pfvar_priv.h,v 1.2
2 2022/11/24 00:04:32 mvs
Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@
-278,7
+278,6
@@
extern struct rwlock pf_lock;
extern struct rwlock pf_state_lock;
#define PF_LOCK() do { \
- NET_ASSERT_LOCKED(); \
rw_enter_write(&pf_lock); \
} while (0)