diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-12-13 23:51:23 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-12-13 23:51:23 +0000 |
commit | 6ffb9baeda8309ca3abeaf6b313f3f31e2f38f84 (patch) | |
tree | f5049a47850b55295a5841e4c02543462469f540 /sys/net/pf_if.c | |
parent | bf9dc424f5b07f79b729c8cb7fa507ca3b1b736c (diff) |
move splsoftnet() below ACCEPT_FLAGS(), which contains a potential return.
from Max Laier.
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r-- | sys/net/pf_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c index 5189646b9df..ad652919090 100644 --- a/sys/net/pf_if.c +++ b/sys/net/pf_if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_if.c,v 1.21 2004/12/06 10:38:19 mpf Exp $ */ +/* $OpenBSD: pf_if.c,v 1.22 2004/12/13 23:51:22 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -672,8 +672,8 @@ pfi_clr_istats(const char *name, int *nzero, int flags) int n = 0, s; long tzero = time_second; - s = splsoftnet(); ACCEPT_FLAGS(PFI_FLAG_GROUP|PFI_FLAG_INSTANCE); + s = splsoftnet(); RB_FOREACH(p, pfi_ifhead, &pfi_ifs) { if (pfi_skip_if(name, p, flags)) continue; |