OSDN Git Service

netfilter: ipset: Explicitly add padding elements to hash:net, net and hash:net,...
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 30 Nov 2014 18:56:57 +0000 (19:56 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 Dec 2014 11:43:36 +0000 (12:43 +0100)
commitcac3763967362ace7996532ad3933f493a928a1b
treeb9309cee14d6f03bbfee0b42e93b059229f47c1a
parent77b4311d207c3ed7260da840ba41afa8bd9ca24c
netfilter: ipset: Explicitly add padding elements to hash:net, net and hash:net, port, net

The elements must be u32 sized for the used hash function.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_hash_netnet.c
net/netfilter/ipset/ip_set_hash_netportnet.c