]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: support variable sized data in nft_data_init()
authorPatrick McHardy <kaber@trash.net>
Sat, 11 Apr 2015 01:27:38 +0000 (02:27 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 13 Apr 2015 15:17:30 +0000 (17:17 +0200)
commit59eec9db09c60ad8ac10161bbbbf52ef66e9f430
treed3dca65a7ca6c2e95b11d9dd108bdeec660b957c
parente3fc9d81642655730e441232ab69f8d6c1767847
netfilter: nf_tables: support variable sized data in nft_data_init()

Add a size argument to nft_data_init() and pass in the available space.
This will be used by the following patches to support variable sized
set element data.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_bitwise.c
net/netfilter/nft_cmp.c
net/netfilter/nft_immediate.c