diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-27 10:42:39 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-28 15:30:15 -0400 |
commit | 93e4fd455c62085cdceea3af4c56d95758d3cb74 (patch) | |
tree | 1b760e2a26572cf80c8a06d21cac3221582a4776 /drivers/firewire/fw-device.c | |
parent | 3964a4496eaa4cb84772e8dfc6c3a72ec4ddca7a (diff) |
firewire: Don't set card->irm_node before we have a new valid topology.
In case the topology build fails, we want to retain the old topology
info until another reset finishes and results in a valid new tree. If
we clear card->irm_node to NULL and the topology build fails, we end up
dereferencing a NULL pointer in a few places.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device.c')
0 files changed, 0 insertions, 0 deletions