linux/drivers/firewire
Stefan Richter d645f4dad0 firewire: core: fix iso context shutdown on card removal
If isochronous contexts existed when firewire-ohci was unloaded, the
core iso shutdown functions crashed with NULL dereferences, and buffers
etc. weren't released.

How the fix works:  We first copy the card driver's iso shutdown hooks
into the dummy driver, then fw_destroy_nodes notifies upper layers of
devices going away, these should shut down (including their iso
contexts), wait_for_completion(&card->done) will be triggered after
upper layers gave up all fw_device references, after which the card
driver's shutdown proceeds.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-06-16 22:48:09 +02:00
..
core-card.c firewire: core: fix iso context shutdown on card removal 2009-06-16 22:48:09 +02:00
core-cdev.c firewire: core: include linux/uaccess.h instead of asm/uaccess.h 2009-06-06 21:45:50 +02:00
core-device.c firewire: core: don't update Broadcast_Channel if RFC 2734 conditions aren't met 2009-06-14 11:57:06 +02:00
core-iso.c firewire: core: fix DMA unmapping in iso buffer removal 2009-06-16 22:48:09 +02:00
core-topology.c firewire: rename source files 2009-06-05 16:26:18 +02:00
core-transaction.c firewire: core: use more outbound tlabels 2009-06-14 14:23:42 +02:00
core.h firewire: add IPv4 support 2009-06-14 14:26:28 +02:00
Kconfig firewire: net: add Kconfig item, rename driver 2009-06-14 14:26:29 +02:00
Makefile firewire: net: add Kconfig item, rename driver 2009-06-14 14:26:29 +02:00
net.c firewire: net: adjust net_device ops 2009-06-14 14:26:29 +02:00
ohci.c firewire: rename source files 2009-06-05 16:26:18 +02:00
ohci.h firewire: reorganize header files 2009-06-05 16:26:18 +02:00
sbp2.c firewire: add parent-of-unit accessor 2009-06-06 21:45:50 +02:00