[conntrack-tools] fds: remove unused array of file descriptors

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Wed Nov 26 00:18:51 CET 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commit;h=22353928caf9c821e70d15c2dd827c8725f6ac40
commit 22353928caf9c821e70d15c2dd827c8725f6ac40
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Wed Nov 26 00:16:57 2008 +0100
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Wed Nov 26 00:16:57 2008 +0100

    fds: remove unused array of file descriptors
    
    This patch removes an unused array of file descriptors inside the
    fds structure.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

commit 1bc6f65123550e52c7d37645709931b20ceff2b3
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Wed Nov 26 00:16:27 2008 +0100
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Wed Nov 26 00:16:27 2008 +0100

    run: release fds structure in the exit path
    
    This patch adds the missing destroy_fds() in the exit path.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
       via  22353928caf9c821e70d15c2dd827c8725f6ac40 (commit)
       via  1bc6f65123550e52c7d37645709931b20ceff2b3 (commit)
      from  b2edf895af82914ab09a842641a45b7a806e9b1e (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 22353928caf9c821e70d15c2dd827c8725f6ac40
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Wed Nov 26 00:16:57 2008 +0100

    fds: remove unused array of file descriptors
    
    This patch removes an unused array of file descriptors inside the
    fds structure.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

commit 1bc6f65123550e52c7d37645709931b20ceff2b3
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Wed Nov 26 00:16:27 2008 +0100

    run: release fds structure in the exit path
    
    This patch adds the missing destroy_fds() in the exit path.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

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

 include/fds.h |    3 ---
 src/fds.c     |   30 +-----------------------------
 src/run.c     |    1 +
 3 files changed, 2 insertions(+), 32 deletions(-)
This patch adds the missing destroy_fds() in the exit path.

Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

diff --git a/src/run.c b/src/run.c
index 34d20b0..ec110d7 100644
--- a/src/run.c
+++ b/src/run.c
@@ -46,6 +46,7 @@ void killer(int foo)
 	STATE(mode)->kill();
 
 	nfct_close(STATE(dump));	/* cache_wt needs this here */
+	destroy_fds(STATE(fds)); 
 
 	unlink(CONFIG(lockfile));
 	dlog(LOG_NOTICE, "---- shutdown received ----");



More information about the netfilter-cvslog mailing list