Jack Morgenstein d686159e50 IB/mthca: Fix access to freed memory in catastrophic event handling
catas_reset() uses a pointer to mthca_dev, but mthca_dev is not valid
after the call to __mthca_restart_one().

Based on a similar patch for mlx4 (634354d7, "mlx4: Fix access to
freed memory") by Vitaliy Gusev <vgusev@openvz.org>

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-09-24 11:55:41 -07:00
..
2007-07-09 20:12:26 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-10-29 12:52:50 -07:00
2008-07-14 23:48:44 -07:00
2009-09-05 20:36:15 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00