netfilter: nft_set_bitmap: incorrect bitmap size
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 26 Feb 2017 16:12:11 +0000 (17:12 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 26 Feb 2017 20:00:19 +0000 (21:00 +0100)
commit13aa5a8f498dacd5f1a8e35be72af47e630fb8c6
tree938300072517e49fe707ce7d83c755811f30ad34
parent4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58
netfilter: nft_set_bitmap: incorrect bitmap size

priv->bitmap_size stores the real bitmap size, instead of the full
struct nft_bitmap object.

Fixes: 665153ff5752 ("netfilter: nf_tables: add bitmap set type")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_set_bitmap.c