netfilter: nft_hash: add missing NFTA_HASH_OFFSET's nla_policy
authorLiping Zhang <liping.zhang@spreadtrum.com>
Wed, 12 Oct 2016 13:10:45 +0000 (21:10 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Oct 2016 15:43:53 +0000 (17:43 +0200)
commit5751e175c60be1b4113d1e9bfa011b58ec01f104
tree28d1e2644fac91984b2f77076e6b4dc4aa47cd85
parentf434ed0a00b232efc9843c869d05048c7cd79bb7
netfilter: nft_hash: add missing NFTA_HASH_OFFSET's nla_policy

Missing the nla_policy description will also miss the validation check
in kernel.

Fixes: 70ca767ea1b2 ("netfilter: nft_hash: Add hash offset value")
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_hash.c