]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: Only free ORBs that completed the initial transaction.
authorKristian Høgsberg <krh@redhat.com>
Tue, 10 Apr 2007 22:11:20 +0000 (18:11 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 11 Apr 2007 22:18:57 +0000 (00:18 +0200)
commit4c0da450e12a7771215ebf2b40f021496dac4a24
treeefa6fff9b9ae825c7a99a97279f973e8966bad3b
parent0addfb336142175f1d68a9aa21331b5515338c34
firewire: Only free ORBs that completed the initial transaction.

In some situations we can receive the ORB status write before we
have received the ORB pointer write response.  When this happens,
we assume that the fw_transaction is finished and free the ORB
struct containing the fw_transaction.

This fix make the status write logic only accept status writes
for ORBs where the initial ORB pointer write transaction finished.

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