summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2012-04-24 15:37:01 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-25 20:41:41 +0200
commitf891ea1634ce41f5f47ae40d8594809f4cd2ca66 (patch)
tree9acb43b2ddaa8618cf90f65eef193bc813f39100 /mm
parenttlan: add cast needed for proper 64 bit operation (diff)
downloadlinux-f891ea1634ce41f5f47ae40d8594809f4cd2ca66.tar.xz
linux-f891ea1634ce41f5f47ae40d8594809f4cd2ca66.zip
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 <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions