diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-08-24 18:59:58 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-08-25 18:00:27 +0200 |
commit | e57d2011a6276d55a87f26653a0395f302ce0d51 (patch) | |
tree | 36392a46eaa7d0697b233c6da151e3ca1034f9f1 /drivers/firewire/fw-iso.c | |
parent | 8a2d9ed3210464d22fccb9834970629c1c36fa36 (diff) |
firewire: Add ref-counting for sbp2 orbs (fix command abortion)
This handles the case where we get the status write before getting the
complete_transaction callback ("status write for unknown orb"). In
this case, we just assume that the initial orb pointer transaction
succeeded and finish the orb. To prevent the transaction callback
from touching freed memory, we ref-count the orb structures.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-iso.c')
0 files changed, 0 insertions, 0 deletions