]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15dad3b92aebd804914541afcde05ed28fb8ff2e
tree938300072517e49fe707ce7d83c755811f30ad34
parentaa5b7e68a7d889d95b1f814a3efad409cc4e504d
netfilter: nft_set_bitmap: incorrect bitmap size

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

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