Author: glebius
Date: Thu Dec  6 08:15:06 2012
New Revision: 243939
URL: http://svnweb.freebsd.org/changeset/base/243939

Log:
    Revert erroneous r242693. A state may have PFTM_UNLINKED being on the
  PFSYNC_S_DEL queue of pfsync.

Modified:
  head/sys/netpfil/pf/if_pfsync.c

Modified: head/sys/netpfil/pf/if_pfsync.c
==============================================================================
--- head/sys/netpfil/pf/if_pfsync.c     Thu Dec  6 06:29:08 2012        
(r243938)
+++ head/sys/netpfil/pf/if_pfsync.c     Thu Dec  6 08:15:06 2012        
(r243939)
@@ -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 :(
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to