From: Clemens Ladisch Date: Mon, 19 Apr 2010 15:29:14 +0000 (+0200) Subject: firewire: core: make transaction label allocation more robust X-Git-Tag: v2.6.35-rc1~41^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7906054f0d597246178b3154adca76de29913aa5;p=pandora-kernel.git firewire: core: make transaction label allocation more robust If one request is so long-lived that it does not get a response before the following 63 requests, its bit in tlabel_mask is still set when the next request tries to allocate a transaction label for that number. In this state, while the first request is not completed or timed out, no new requests can be submitted. To fix this, skip over any label still in use, and do not error out unless we have entirely run out of labels. Signed-off-by: Clemens Ladisch Signed-off-by: Stefan Richter --- Reading git-diff-tree failed