diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-04-04 03:38:51 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-05-19 14:06:10 +0400 |
commit | b380e5c733b9f18a6a3ebb97963b6dd037339bc0 (patch) | |
tree | 3ca18c36eb7acae13894029ceb350eaee1e90d26 /include/net/netfilter | |
parent | 37082f930bb59ef6fd45e7bae6c45858af2cd972 (diff) | |
download | linux-b380e5c733b9f18a6a3ebb97963b6dd037339bc0.tar.xz |
netfilter: nf_tables: add message type to transactions
The patch adds message type to the transaction to simplify the
commit the and abort routines. Yet another step forward in the
generalisation of the transaction infrastructure.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 246dbd48825f..d8dfb2695e0f 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -390,11 +390,13 @@ struct nft_rule { * struct nft_trans - nf_tables object update in transaction * * @list: used internally + * @msg_type: message type * @ctx: transaction context * @data: internal information related to the transaction */ struct nft_trans { struct list_head list; + int msg_type; struct nft_ctx ctx; char data[0]; }; |