]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: ipset: Fix set:list type crash when flush/dump set in parallel
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 24 Feb 2016 19:32:21 +0000 (20:32 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 24 Feb 2016 19:32:21 +0000 (20:32 +0100)
commit45040978c8994d1401baf5cc5ac71c1495d4e120
treeffeb080b7e2cee14529cf1d6324a48914368cc0f
parent5cc6ce9ff27565949a1001a2889a8dd9fd09e772
netfilter: ipset: Fix set:list type crash when flush/dump set in parallel

Flushing/listing entries was not RCU safe, so parallel flush/dump
could lead to kernel crash. Bug reported by Deniz Eren.

Fixes netfilter bugzilla id #1050.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_core.c
net/netfilter/ipset/ip_set_list_set.c