From: Jozsef Kadlecsik Date: Sat, 13 Jun 2015 09:59:45 +0000 (+0200) Subject: netfilter: ipset: Fix parallel resizing and listing of the same set X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~68^2~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c997839cf92cb1037e43a85cdb4cbf44ed39a5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed