netfilter: nf_tables: introduce nft_validate_register_load()
authorPatrick McHardy <kaber@trash.net>
Sat, 11 Apr 2015 01:27:30 +0000 (02:27 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 13 Apr 2015 14:25:50 +0000 (16:25 +0200)
commitd07db9884a5fba8c8020166c86183c79a18d066a
tree74579f0a339d2fa8f8586b5971311ba3ba62ecff
parent27e6d2017abdfbdb8b790c34c93d65ee10ce2fc5
netfilter: nf_tables: introduce nft_validate_register_load()

Change nft_validate_input_register() to not only validate the input
register number, but also the length of the load, and rename it to
nft_validate_register_load() to reflect that change.

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_byteorder.c
net/netfilter/nft_cmp.c
net/netfilter/nft_ct.c
net/netfilter/nft_dynset.c
net/netfilter/nft_lookup.c
net/netfilter/nft_meta.c
net/netfilter/nft_nat.c
net/netfilter/nft_redir.c