commit | d686159e50c57788001001e9537aa8b4bbc38001 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Thu Sep 24 11:55:41 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Thu Sep 24 11:55:41 2009 -0700 |
tree | bba34fdf2c79b671df4523119153242e327f8f4e | |
parent | 86d710146fb9975f04c505ec78caa43d227c1018 [diff] |
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>