cnic: Disable statistics initialization for eth clients that do not support statistics
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 23 Jun 2010 18:57:09 +0000 (11:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 18:57:09 +0000 (11:57 -0700)
commit6b2a541db58dba5860ccbcfaf36caee064b8a9fd
treec461ffb8fe6758ceda236e7e01f80fc85242af9b
parent06aeb78b85d8c04af03eb37353aa0df98d3db170
cnic: Disable statistics initialization for eth clients that do not support statistics

Disable statistics initialization for eth clients that do not support
 statistics. This prevents memory corruption on bnx2x hw.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
drivers/net/cnic.c