[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.1beta1-6-gc20bd3b

OISF Git noreply at openinfosecfoundation.org
Thu Aug 14 08:01:25 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  c20bd3bcb2db85d3092eefc35015b4c7c1874b33 (commit)
       via  80adc40f6850a9dfcb3e43e5b1a1930c5059fbe8 (commit)
       via  3ee504a3dc2ba9736d3e1f37c855dc4ef40e0189 (commit)
       via  ed0b75e1e9bd4b9764c60a55f256ba9881d3ea9d (commit)
       via  231b993f1f91151f814d05fada3d16815625e9cf (commit)
       via  04a0672f7ab9ebf8ba6004a21f24fcf34bfca875 (commit)
      from  7fa2b8769bb762cfed795531eba70946d05ca9ec (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 c20bd3bcb2db85d3092eefc35015b4c7c1874b33
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Aug 13 16:33:50 2014 +0200

    Optimize Packet Ext data freeing
    
    Move the logic of PacketFreeExtData into a macro 'PACKET_FREE_EXTDATA'.
    It was called for each packet.

commit 80adc40f6850a9dfcb3e43e5b1a1930c5059fbe8
Author: Eric Leblond <eric at regit.org>
Date:   Wed Aug 13 10:48:26 2014 +0200

    packet pool: fix ext_pkt cleaning
    
    The field ext_pkt was cleaned before calling the release function.
    The result was that IPS mode such as the one of AF_PACKET were not
    working anymore because they were not able to send the data which
    were initially pointed by ext_pkt.
    
    This patch moves the ext_pkt cleaning to the cleaning macro. This
    ensures that the cleaning is done for allocated and pool packets.

commit 3ee504a3dc2ba9736d3e1f37c855dc4ef40e0189
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Jul 9 08:55:47 2014 +0200

    packet recycle: remove mutex destroy/init
    
    This was necessary earlier when there was a memset involved.

commit ed0b75e1e9bd4b9764c60a55f256ba9881d3ea9d
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Jul 9 08:51:29 2014 +0200

    packet recycle: do most clean up on packet reuse
    
    Call PACKET_RELEASE_REFS from PacketPoolGetPacket() so that
    we only access the large packet structure just before actually
    using it. Should give better cache behaviour.

commit 231b993f1f91151f814d05fada3d16815625e9cf
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Jul 9 08:50:26 2014 +0200

    packet recycle: split macro
    
    Split PACKET_RECYCLE into 2 parts. One part for cleanup to do before a
    packet is returned to the pool, the other after it's retrieved from
    the pool.

commit 04a0672f7ab9ebf8ba6004a21f24fcf34bfca875
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Jul 9 10:59:49 2014 +0200

    Fix decode tests calling PACKET_DO_RECYCLE instead of PACKET_RECYCLE

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

Summary of changes:
 src/decode-ipv4.c     |   14 +++++++-------
 src/decode.c          |   16 +---------------
 src/decode.h          |   33 ++++++++++++++++++++++++---------
 src/stream-tcp.c      |    3 +--
 src/tmqh-packetpool.c |   25 ++++++-------------------
 5 files changed, 39 insertions(+), 52 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list