netfilter:ipset: Fix memory allocation for bitmap:port
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 18 Oct 2013 12:03:41 +0000 (14:03 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 27 Oct 2013 18:24:39 +0000 (19:24 +0100)
commitdc476e7c8e7824fd326c79f50d7302faca7a4c2b
treeccdeee796df0a5a1e77755e9e6746f3d1aa1f1ef
parentf2020b27be94222eb25c39ff46eb9917cb92897b
netfilter:ipset: Fix memory allocation for bitmap:port

At the restructuring of the bitmap types creation in ipset, for the
bitmap:port type wrong (too large) memory allocation was copied
(netfilter bugzilla id #859).

Reported-by: Quentin Armitage <quentin@armitage.org.uk>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_bitmap_port.c