summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-03-19 22:02:40 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-01-20 19:29:51 +0100
commita5c7f4710fba334bf613d705f97b4471b36446f8 (patch)
tree85deaf0584aea866a976245bae3c0d99bbca579f /drivers/zorro
parent1de9e8e70f5acc441550ca75433563d91b269bbe (diff)
downloadblackbird-obmc-linux-a5c7f4710fba334bf613d705f97b4471b36446f8.tar.gz
blackbird-obmc-linux-a5c7f4710fba334bf613d705f97b4471b36446f8.zip
firewire: insist on successive self ID complete events
The whole topology code only works if the old and new topologies which are compared come from immediately successive self ID complete events. If there happened bus resets without self ID complete events in the meantime, or self ID complete events with invalid selfIDs, the topology comparison could identify nodes wrongly, or more likely just corrupt kernel memory or panic right away. We now discard all nodes of the old topology and treat all current nodes as new ones if the current self ID generation is not the previous one plus 1. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud