Rx: Consolidate wait for tq busy and make its use uniform
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 12 Oct 2010 14:53:43 +0000 (10:53 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Thu, 14 Oct 2010 03:02:58 +0000 (20:02 -0700)
commite45abc6cc20236b9e91c23cb6f8e90f51b6a4a99
tree6e3210259992704d78ea1fbe3f40809b51004dd4
parent09aec1539dbe4e4c72ec7acadf2d25e6f93c5982
Rx: Consolidate wait for tq busy and make its use uniform

rxi_WaitforTQBusy() is now used wherever a wait for the transmit
queue is required.  It returns either when the transmit queue is
no longer busy or when the call enters an error state.

Having made this change it is clear that call->currentPacket is
not always validated when the call->lock is reacquired which may be
true when rxi_WaitforTQBusy() is called.

Change-Id: Ibf297f1447755be2abd39a81063cc7efd7f7a08b
Reviewed-on: http://gerrit.openafs.org/2966
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx.c
src/rx/rx_prototypes.h
src/rx/rx_rdwr.c