netfilter: nf_conntrack: use RCU safe kfree for conntrack extensions
authorMichal Kubeček <mkubecek@suse.cz>
Wed, 11 Sep 2013 08:17:27 +0000 (10:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Sep 2013 09:58:40 +0000 (11:58 +0200)
Commit 68b80f11 (netfilter: nf_nat: fix RCU races) introduced
RCU protection for freeing extension data when reallocation
moves them to a new location. We need the same protection when
freeing them in nf_ct_ext_free() in order to prevent a
use-after-free by other threads referencing a NAT extension data
via bysource list.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found