]> err.no Git - linux-2.6/commit
firewire: Implement proper transaction cancelation.
authorKristian Høgsberg <krh@redhat.com>
Tue, 6 Feb 2007 19:49:32 +0000 (14:49 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:51 +0000 (22:02 +0100)
commit730c32f58ba81b3a4fe6d19c7d9e9829dd96d363
tree79149d002b095ca27582d4d7ef00c8eefec67170
parent72e318e07e1fa9840bfdd5788421fc6dc51a93de
firewire: Implement proper transaction cancelation.

Drivers such as fw-sbp2 had no way to properly cancel in-progress
transactions, which could leave a pending transaction or an unset
packet in the low-level queues after kfree'ing the containing
structure. fw_cancel_transaction() lets drivers cancel a submitted
transaction.

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