]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: deconstify table and chain in context structure
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Apr 2014 23:22:45 +0000 (01:22 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:09 +0000 (12:06 +0200)
commit229734fef8f859d60efa7ede708bd2ed2ad9a6d5
tree9e6ea41e5cbcd040d20a2306f941f2e688b04793
parent8fcac44289d66438eae00e404212e0a992872cbe
netfilter: nf_tables: deconstify table and chain in context structure

The new transaction infrastructure updates the family, table and chain
objects in the context structure, so let's deconstify them. While at it,
move the context structure initialization routine to the top of the
source file as it will be also used from the table and chain routines.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c