firewire: Track pending transactions and cancel them on cdev release.
authorKristian Høgsberg <krh@redhat.com>
Wed, 7 Mar 2007 17:12:50 +0000 (12:12 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:03:12 +0000 (22:03 +0100)
commit28cf6a04c82857d562968dc3a8a89726e6ac3dcb
treee4513c7e09c7f0bdb77a5358268c17a570e20fab
parentf319b6a02f12c3712eb64eee6a23584367cb3588
firewire: Track pending transactions and cancel them on cdev release.

Without this, pending transactions will dereference freed memory
if they complete after the device file has been closed.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c