From: Michal Kubeček Date: Wed, 11 Sep 2013 08:17:27 +0000 (+0200) Subject: netfilter: nf_conntrack: use RCU safe kfree for conntrack extensions X-Git-Tag: v3.12-rc2~14^2~10^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13a84a830a208fb3443628773c8ca0557773cc7;p=pandora-kernel.git netfilter: nf_conntrack: use RCU safe kfree for conntrack extensions 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed