]> granicus.if.org Git - ipset/commit
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>
Fri, 26 Jun 2015 09:16:28 +0000 (11:16 +0200)
commitdd4330ede7d3e0b3914cfa6ed05bbcee69f7b490
treeb21efb255a1aa3a166e6ba63599fc3f4e30ae9ec
parenta628660f6a9a4d07e5193e562fe846e94713b2c7
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>.
kernel/net/netfilter/ipset/ip_set_hash_gen.h