]> git.ipfire.org Git - thirdparty/ipset.git/commit
netfilter: ipset: restore allowing 64 clashing elements in hash:net,iface
authorJozsef Kadlecsik <kadlec@netfilter.org>
Mon, 21 Nov 2022 12:16:56 +0000 (13:16 +0100)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Mon, 21 Nov 2022 12:19:48 +0000 (13:19 +0100)
commitd0e0631ff8448841571cb2be31c0ddb7e2f86371
tree74d39aa08b8ac77cbcaebf167be8d90855e492a8
parente39e3466d2d38cdfe83447f391b550e607bc3ce8
netfilter: ipset: restore allowing 64 clashing elements in hash:net,iface

The patch "netfilter: ipset: enforce documented limit to prevent allocating
huge memory" was too strict and prevented to add up to 64 clashing elements
to a hash:net,iface type of set. This patch fixes the issue and now the type
behaves as documented.
kernel/net/netfilter/ipset/ip_set_hash_gen.h