summaryrefslogtreecommitdiffstats
path: root/sys/netpfil/pf
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-12-06 08:15:06 +0000
committerglebius <glebius@FreeBSD.org>2012-12-06 08:15:06 +0000
commit4cf66ea4437a36ca625969d60e8dac3c46d93711 (patch)
tree568e735efd24e7d369ec9e33cfc57940c7eb63cf /sys/netpfil/pf
parent386e9d0db5afa72d72f2beac49e8576a819fd75a (diff)
downloadFreeBSD-src-4cf66ea4437a36ca625969d60e8dac3c46d93711.zip
FreeBSD-src-4cf66ea4437a36ca625969d60e8dac3c46d93711.tar.gz
Revert erroneous r242693. A state may have PFTM_UNLINKED being on the
PFSYNC_S_DEL queue of pfsync.
Diffstat (limited to 'sys/netpfil/pf')
-rw-r--r--sys/netpfil/pf/if_pfsync.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c
index f5f8a33..beb88cd 100644
--- a/sys/netpfil/pf/if_pfsync.c
+++ b/sys/netpfil/pf/if_pfsync.c
@@ -1534,16 +1534,6 @@ pfsync_sendout(int schedswi)
KASSERT(st->sync_state == q,
("%s: st->sync_state == q",
__func__));
- if (st->timeout == PFTM_UNLINKED) {
- /*
- * This happens if pfsync was once
- * stopped, and then re-enabled
- * after long time. Theoretically
- * may happen at usual runtime, too.
- */
- pf_release_state(st);
- continue;
- }
/*
* XXXGL: some of write methods do unlocked reads
* of state data :(
OpenPOWER on IntegriCloud