From: Pablo Neira Ayuso Date: Tue, 9 Jul 2013 18:16:39 +0000 (+0200) Subject: netfilter: ctnetlink: fix incorrect NAT expectation dumping X-Git-Tag: v3.11-rc4~22^2~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09eca8db0184aeb6b9718a987cfb3653ad7c4ae;p=pandora-kernel.git netfilter: ctnetlink: fix incorrect NAT expectation dumping nf_ct_expect_alloc leaves unset the expectation NAT fields. However, ctnetlink_exp_dump_expect expects them to be zeroed in case they are not used, which may not be the case. This results in dumping the NAT tuple of the expectation when it should not. Fix it by zeroing the NAT fields of the expectation. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed