]>
granicus.if.org Git - ipset/commit
Fix adding ranges to hash types
When ranges are added to hash types, the elements may trigger rehashing the set.
However, the last successfully added element was not kept track so the adding
started again with the first element after the rehashing. Bug reported by Mr Dash Four.
22 files changed:
kernel/include/linux/netfilter/ipset/ip_set.h
diff | blob | history
kernel/include/linux/netfilter/ipset/ip_set_ahash.h
diff | blob | history
kernel/net/netfilter/ipset/ip_set_bitmap_ip.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_bitmap_ipmac.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_bitmap_port.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_core.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_ip.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_ipport.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_ipportip.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_ipportnet.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_net.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_hash_netport.c
diff | blob | history
kernel/net/netfilter/ipset/ip_set_list_set.c
diff | blob | history
tests/hash:ip,port,ip.t
diff | blob | history
tests/hash:ip,port,net.t
diff | blob | history
tests/hash:ip,port.t
diff | blob | history
tests/hash:ip.t
diff | blob | history
tests/hash:ip6,port,ip6.t
diff | blob | history
tests/hash:ip6,port,net6.t
diff | blob | history
tests/hash:ip6,port.t
diff | blob | history
tests/hash:net,port.t
diff | blob | history
tests/hash:net6,port.t
diff | blob | history