From: Matt Carlson Date: Tue, 24 Apr 2012 13:37:01 +0000 (+0000) Subject: tg3: Avoid panic from reserved statblk field access X-Git-Tag: v3.4-rc6~23^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f891ea1634ce41f5f47ae40d8594809f4cd2ca66;p=pandora-kernel.git tg3: Avoid panic from reserved statblk field access When RSS is enabled, interrupt vector 0 does not receive any rx traffic. The rx producer index fields for vector 0's status block should be considered reserved in this case. This patch changes the code to respect these reserved fields, which avoids a kernel panic when these fields take on non-zero values. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed