[patch 0/4] firewire: keeping accesses to fw_transaction in check

From: Stefan Richter
Date: Sat Jul 12 2008 - 08:48:55 EST


Jay Fenlason pointed me to a race condition in firewire-core; here are
some patches for it:

[1/4] firewire: fix race of bus reset with request transmission
[2/4] firewire: fully initialize fw_transaction before marking it pending
[3/4] firewire: small fw_fill_request cleanup
[4/4] firewire: warn on unfinished transactions during card removal

drivers/firewire/fw-card.c | 2 +-
drivers/firewire/fw-topology.c | 2 --
drivers/firewire/fw-transaction.c | 21 +++++++++------------
3 files changed, 10 insertions(+), 15 deletions(-)

Both the diffstat's +/- balance and initial testing look fine so far.
--
Stefan Richter
-=====-==--- -=== -==--
http://arcgraph.de/sr/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/