summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2026-07-02 15:47:00 +0200
committerFlorian Westphal <fw@strlen.de>2026-07-08 15:33:44 +0200
commit724f32699aeabcbd294377904b40b456fd5c67eb (patch)
treed6cab8baf89cbe8fa2e43bcfd6051663433c8eb0 /include
parent672321302ed682ccb903004f435bbdb353534a9c (diff)
netfilter: ipset: allocate the proper memory for the generic hash structure
Because a single create function is emitted for every hash type, from the IPv4 and IPv6 generic hash structure definitions the last one, i.e. the IPv6 was in effect for IPv4 too. Use the proper size when allocating the structure. Comment properly that because create() refers to elements of the generic hash structure, all referred ones must come before the IPv4/IPv6 dependent 'next' member. Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions