firewire: sbp2: fix freeing of unallocated memory
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 3 Sep 2009 21:07:35 +0000 (23:07 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 5 Sep 2009 13:59:34 +0000 (15:59 +0200)
commitbaed6b82d9f160184c1c14cdb4accb08f3eb6b87
treeeaeee0797d802462447d5aefbb09ddbdefa69986
parent4fe0badd5882c64dc2dcd8893f9b85db63339736
firewire: sbp2: fix freeing of unallocated memory

If a target writes invalid status (typically status of a command that
already timed out), firewire-sbp2 attempts to put away an ORB that
doesn't exist.  https://bugzilla.redhat.com/show_bug.cgi?id=519772

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/sbp2.c