[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.0rc2-1-gfdb1bd9

OISF Git noreply at openinfosecfoundation.org
Mon Mar 10 13:07:50 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".

The branch, master has been updated
       via  fdb1bd96680c1921aaed93d54f198a4e71435e7f (commit)
      from  845cbcce90a1d5c2f92c7e9034b8166666298793 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fdb1bd96680c1921aaed93d54f198a4e71435e7f
Author: Victor Julien <victor at inliniac.net>
Date:   Mon Mar 10 08:54:40 2014 +0100

    pfring: call enable_ring after set_cluster
    
    Move pfring_enable_ring to the start of ReceivePfringLoop() so that
    it's guaranteed to be called after all threads have called
    pfring_set_cluster first.
    
    This is necessary because pfring will already make packets available
    to thread N, while thread N+1 is still registering itself. This leads
    to cases where the first packet(s) of a flow are processed by a
    different thread in Suricata than the later ones.
    
    This is a race condition only at start up. New flows after the pfring
    initialization is complete will not be influenced by this.
    
    Bug #1129.

-----------------------------------------------------------------------

Summary of changes:
 src/source-pfring.c |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list