summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-09-27 23:45:49 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-09-27 23:45:49 +0000
commitf155749dda1c2d06e3673d77ba1c765b6ce93364 (patch)
tree83e9a0d2fa189e28773b5c9d39885a004c3187d0 /sys/net/if_pfsync.c
parent1d4e2c60a5e3dc90cf35c40cb7d7ac6f9acf2f9a (diff)
must have either PR_WAITOK or PR_NOWAIT set.
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 36bcee04360..2c39c328436 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.155 2010/09/08 08:53:57 blambert Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.156 2010/09/27 23:45:48 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -517,7 +517,7 @@ pfsync_state_import(struct pfsync_state *sp, u_int8_t flags)
if (flags & PFSYNC_SI_IOCTL)
pool_flags = PR_WAITOK | PR_LIMITFAIL | PR_ZERO;
else
- pool_flags = PR_LIMITFAIL | PR_ZERO;
+ pool_flags = PR_NOWAIT | PR_LIMITFAIL | PR_ZERO;
if ((st = pool_get(&pf_state_pl, pool_flags)) == NULL)
goto cleanup;