From: Alexey Dobriyan Date: Mon, 8 Feb 2010 19:17:43 +0000 (-0800) Subject: netfilter: xtables: compat out of scope fix X-Git-Tag: v2.6.33-rc8~34^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14c7dbe043d01a83a30633ab6b109ba2ac61d9f7;p=pandora-kernel.git netfilter: xtables: compat out of scope fix As per C99 6.2.4(2) when temporary table data goes out of scope, the behaviour is undefined: if (compat) { struct foo tmp; ... private = &tmp; } [dereference private] Signed-off-by: Alexey Dobriyan Cc: stable@kernel.org Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed