From: Peter Osterlund Date: Mon, 14 Nov 2005 00:06:36 +0000 (-0800) Subject: [PATCH] packet writing oops fix X-Git-Tag: v2.6.15-rc2~197 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae7642bb05623988d8ca82b332dad1ed7bdb8ceb;p=pandora-kernel.git [PATCH] packet writing oops fix There is an old bug in the pkt_count_states() function that causes stack corruption. When compiling with gcc 3.x or 2.x it is harmless, but gcc 4 allocates local variables differently, which makes the bug visible. Signed-off-by: Peter Osterlund Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed