aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/cache.c
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2006-06-09 11:29:03 -0700
committerAuke Kok <juke-jan.h.kok@intel.com>2006-06-09 11:29:03 -0700
commita487a8f7b6947f6445e5a1aa876522916785d5ec (patch)
treea64fb0d90dce25095558b89de86a2d9a6d340d21 /drivers/infiniband/core/cache.c
parentcac925a4aab1b7233d3beb591f53498816058a08 (diff)
e1000: prevent statistics from garbling during bus resets
If a PCI bus error/fault triggers a PCI bus reset, attempts to get the ethernet packet count statistics from the hardware will fail, returning garbage data upstream. This patch skips statistics data collection if the PCI device is not on the bus. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
0 files changed, 0 insertions, 0 deletions