diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-11 19:34:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-11 19:34:54 +0200 |
commit | 9163f4673d919658c94f9de4ca32a2e9dacce2fd (patch) | |
tree | b6b26f63b2f5643c01a222c0717ad45e7894a2ff /include | |
parent | 6dad06ec56eeb942a1785246bf91fe7100a21c7e (diff) | |
download | conntrack-tools-9163f4673d919658c94f9de4ca32a2e9dacce2fd.tar.gz conntrack-tools-9163f4673d919658c94f9de4ca32a2e9dacce2fd.zip |
conntrackd: use a permanent handler for commit operations
This patch adds a dedicated commit handler since there is a possible
race condition that can happen if the child process ends before we
have received all the event messages that the commit request has
triggered.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/conntrackd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h index c5f6659..7a63f97 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -166,6 +166,8 @@ struct ct_sync_state { struct cache *internal; /* internal events cache (netlink) */ struct cache *external; /* external events cache (mcast) */ + struct nfct_handle *commit; + struct multichannel *channel; struct nlif_handle *interface; struct queue *tx_queue; |