ieee1394: sbp2: fix unsafe iteration over list of devices
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 11 Aug 2007 09:52:08 +0000 (11:52 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 16 Oct 2007 21:59:55 +0000 (23:59 +0200)
commit261b5f664c6c68c5209656a71c41823eda0d938b
tree52045ab3beb1564b248a8389c241ac825b14c1bd
parentc4f3d41fed11c9050aa93bbaeed9f7f06bcc93ba
ieee1394: sbp2: fix unsafe iteration over list of devices

sbp2_host_reset and sbp2_handle_status_write are not serialized against
sbp2_alloc_device and sbp2_remove_device.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c