commit | c4c997839cf92cb1037e43a85cdb4cbf44ed39a5 | [log] [tgz] |
---|---|---|
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Sat Jun 13 11:59:45 2015 +0200 |
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Sun Jun 14 10:40:15 2015 +0200 |
tree | babab397cd839a813c8ea3b750a8f8da8c936a23 | |
parent | f690cbaed9fe4d77592e24139db7ad790641c4fd [diff] |
netfilter: ipset: Fix parallel resizing and listing of the same set When elements added to a hash:* type of set and resizing triggered, parallel listing could start to list the original set (before resizing) and "continue" with listing the new set. Fix it by references and using the original hash table for listing. Therefore the destroying of the original hash table may happen from the resizing or listing functions. Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>