conntrack-tools branch, master, updated. conntrack-tools-1.0.0-14-g8da0068

Pablo Neira Ayuso netfilter-cvslog-bounces at lists.netfilter.org
Wed Jan 4 14:23:29 CET 2012


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 "conntrack-tools".

The branch, master has been updated
       via  8da00687d65f06160827e4cd469c330d3a73a9d9 (commit)
      from  7bb73190b8702a57041ea7280455b078c987d886 (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 8da00687d65f06160827e4cd469c330d3a73a9d9
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Wed Jan 4 14:16:57 2012 +0100

    conntrackd: fix checking of return value of queue_add()
    
    Most callers of queue_add() assume that it returns != 0 in case of
    success. However, it may return -1 in case that the queue gets full.
    In that case, most callers have to:
    
    - release the object that they want to enqueue.
    - decrement the refcount, in case they have bumped it.
    
    However, most of these callers are using the tx_queue which currently
    has no limit in size at all. This fix is necessary in case that I
    decide to limit the size of the transmission queue in the future
    (which makes a lot of sense indeed).
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

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

Summary of changes:
 src/sync-alarm.c   |    2 +-
 src/sync-ftfw.c    |   10 ++++++----
 src/sync-notrack.c |   10 ++++++----
 3 files changed, 13 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
conntrack-tools



More information about the netfilter-cvslog mailing list