path: root/include
diff options
authorPablo Neira Ayuso <>2009-06-11 19:34:54 +0200
committerPablo Neira Ayuso <>2009-06-11 19:34:54 +0200
commit9163f4673d919658c94f9de4ca32a2e9dacce2fd (patch)
treeb6b26f63b2f5643c01a222c0717ad45e7894a2ff /include
parent6dad06ec56eeb942a1785246bf91fe7100a21c7e (diff)
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 <>
Diffstat (limited to 'include')
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;