From: Jan Engelhardt Date: Fri, 21 Sep 2012 22:26:52 +0000 (+0000) Subject: netfilter: xt_limit: have r->cost != 0 case work X-Git-Tag: v3.6~5^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e6bfe2fbc4d48852114c4f979137cd5bf1d1a8;p=pandora-kernel.git netfilter: xt_limit: have r->cost != 0 case work Commit v2.6.19-rc1~1272^2~41 tells us that r->cost != 0 can happen when a running state is saved to userspace and then reinstated from there. Make sure that private xt_limit area is initialized with correct values. Otherwise, random matchings due to use of uninitialized memory. Signed-off-by: Jan Engelhardt Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed