summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/ip_set_hash_ipportnet.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2022-12-29 15:00:21 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2022-12-30 12:21:16 +0100
commit8a6f0ec69115ba417c5ad06047040240991520ce (patch)
tree1d25ad826f2bf5140b65a58782c95e999fa44cab /kernel/net/netfilter/ipset/ip_set_hash_ipportnet.c
parent7273a704502c78d653bcc350b55ea24bed44a37f (diff)
netfilter: ipset: fix hash:net,port,net hang with /0 subnet
The hash:net,port,net set type supports /0 subnets. However, the patch commit 5f7b51bf09baca8e titled "netfilter: ipset: Limit the maximal range of consecutive elements to add/delete" did not take into account it and resulted in an endless loop. The bug is actually older but the patch 5f7b51bf09baca8e brings it out earlier. Handle /0 subnets properly in hash:net,port,net set types. Reported-by: Марк Коренберг <socketpair@gmail.com> Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'kernel/net/netfilter/ipset/ip_set_hash_ipportnet.c')
0 files changed, 0 insertions, 0 deletions