]> 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)
commitd5090cecd250455dde0e4f40be85f74070a71737
tree9e6ea41e5cbcd040d20a2306f941f2e688b04793
parent64b4f04ad0fcbffadf5502f6a6cba9b0baa63a81
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