aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2012-04-24 13:37:01 +0000
committerBen Hutchings <ben@decadent.org.uk>2012-05-20 22:56:37 +0100
commit63abb972410a091c02fdebc9d50287b79f1ea293 (patch)
tree67628527eb304b7792fc262661c41b4cab21abaa /net
parent9dd8816dbc51731902518c28e08e3f279e4f0731 (diff)
tg3: Avoid panic from reserved statblk field access
[ Upstream commit f891ea1634ce41f5f47ae40d8594809f4cd2ca66 ] 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 <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions