artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617df30
)
In pfattach() pass malloc type instead of flags to cpumem_malloc().
author
bluhm
<bluhm@openbsd.org>
Thu, 18 Jul 2024 14:46:28 +0000
(14:46 +0000)
committer
bluhm
<bluhm@openbsd.org>
Thu, 18 Jul 2024 14:46:28 +0000
(14:46 +0000)
from markus@
sys/net/pf_ioctl.c
patch
|
blob
|
history
diff --git
a/sys/net/pf_ioctl.c
b/sys/net/pf_ioctl.c
index
aa21b4b
..
e7591ab
100644
(file)
--- a/
sys/net/pf_ioctl.c
+++ b/
sys/net/pf_ioctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pf_ioctl.c,v 1.41
7 2024/05/13 01:15:53 jsg
Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.41
8 2024/07/18 14:46:28 bluhm
Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@
-287,7
+287,7
@@
pfattach(int num)
*/
pf_anchor_stack = cpumem_malloc(
sizeof(struct pf_anchor_stackframe) * (PF_ANCHOR_STACK_MAX + 2),
- M_
WAITOK|M_ZERO
);
+ M_
PF
);
CPUMEM_FOREACH(sf, &cmi, pf_anchor_stack)
sf[PF_ANCHOR_STACK_MAX].sf_stack_top = &sf[0];
}