summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-20 10:13:58 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-20 10:13:58 +0000
commitd1224fc6f855f84f2fe5c3660748fb7f94da9e27 (patch)
treecf9db929f6d4c65f0a7e98caa2de91a9db13a345 /sys
parentf855bf51b1784433a2ce4774ed8aadd45a3fb8ef (diff)
All calls to pool_get(9) should use PR_xx flags, not M_xx.
millert dhartmei ok.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c4
-rw-r--r--sys/net/pf_norm.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 3dd94562d94..7af714ba79a 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.201 2002/04/08 17:49:43 jason Exp $ */
+/* $OpenBSD: pf.c,v 1.202 2002/04/20 10:13:57 fgsch Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2734,7 +2734,7 @@ pf_add_sport(struct pf_port_list *plist, u_int16_t port)
{
struct pf_port_node *pnode;
- pnode = pool_get(&pf_sport_pl, M_NOWAIT);
+ pnode = pool_get(&pf_sport_pl, PR_NOWAIT);
if (pnode == NULL)
return (ENOMEM);
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c
index 0436f6262c5..0ec80d66dd6 100644
--- a/sys/net/pf_norm.c
+++ b/sys/net/pf_norm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_norm.c,v 1.21 2002/03/27 18:16:21 mickey Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.22 2002/04/20 10:13:57 fgsch Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -256,10 +256,10 @@ pf_reassemble(struct mbuf **m0, struct pf_fragment *frag,
if (frag == NULL) {
struct pf_tree_key key;
- frag = pool_get(&pf_frag_pl, M_NOWAIT);
+ frag = pool_get(&pf_frag_pl, PR_NOWAIT);
if (frag == NULL) {
pf_flush_fragments();
- frag = pool_get(&pf_frag_pl, M_NOWAIT);
+ frag = pool_get(&pf_frag_pl, PR_NOWAIT);
if (frag == NULL)
goto drop_fragment;
}