From: Pablo Neira Ayuso Date: Tue, 11 Dec 2012 04:07:42 +0000 (+0000) Subject: netfilter: xt_CT: fix crash while destroy ct templates X-Git-Tag: v3.8-rc3~8^2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=252b3e8c1bc0c2b20348ae87d67efcd0a8209f72;p=pandora-kernel.git netfilter: xt_CT: fix crash while destroy ct templates In (d871bef netfilter: ctnetlink: dump entries from the dying and unconfirmed lists), we assume that all conntrack objects are inserted in any of the existing lists. However, template conntrack objects were not. This results in hitting BUG_ON in the destroy_conntrack path while removing a rule that uses the CT target. This patch fixes the situation by adding the template lists, which is where template conntrack objects reside now. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed