]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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)
committerDerrick Brashear <shadow@dementia.org>
Sat, 9 Jul 2011 05:04:14 +0000 (22:04 -0700)
commita88e9a249e7fb2a3334ada72d0cc9f263afc6d60
tree4ac04dd56716b398304f6ca00a30e6d907c7249d
parentae15c93f0dc2c73908676687f5f1a82abd1b2c64
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.

(cherry picked from commit e45abc6cc20236b9e91c23cb6f8e90f51b6a4a99)
Reviewed-on: http://gerrit.openafs.org/2966
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Change-Id: I3492d351581549872b8332a626dae344757c6a6e
Reviewed-on: http://gerrit.openafs.org/4929
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c
src/rx/rx_prototypes.h
src/rx/rx_rdwr.c