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)
commitd0a11fc3dc4ab4c717642c9c15c8ad1cbc00d2ec
treed3dca65a7ca6c2e95b11d9dd108bdeec660b957c
parent49499c3e6e18b7677a63316f3ff54a16533dc28f
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