netfilter: ipset: Make sure element data size is a multiple of u32
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 26 Jun 2015 09:16:28 +0000 (11:16 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:47 +0000 (13:28 +0100)
commit5a902e6d4b61de33f4a9d3fc5fbc9d339fee7ed3
tree33f1f0703f9bacfdd2011ac1115c24408d841e15
parentcee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0
netfilter: ipset: Make sure element data size is a multiple of u32

Data for hashing required to be array of u32. Make sure that
element data always multiple of u32.

Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h