summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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