summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}