Divy Le Ray c22c814931 cxgb3: link fault fixes
Do not call t3_link_fault() under spinlock, as it calls msleep().
Besides, only the access to pi->link_fault needs to be serialized.

Also initialize local variables before checking the link status,
link state fields might otherwise end up containing garbage.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-29 01:54:41 -07:00
..
2009-05-29 01:54:37 -07:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2009-05-29 01:54:41 -07:00
2009-01-26 22:21:59 -08:00
2009-01-26 22:21:59 -08:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2009-03-13 11:30:47 -07:00
2009-05-29 01:54:37 -07:00
2008-10-13 18:47:30 -07:00
2009-05-29 01:54:41 -07:00
2008-10-13 18:47:30 -07:00
2009-03-13 11:30:49 -07:00
2009-03-13 11:30:47 -07:00