rx: Remove resending logic into its own function
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 18 Jun 2011 10:35:30 +0000 (11:35 +0100)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Jun 2011 01:54:52 +0000 (18:54 -0700)
commit280c80152522f32cf34deae96696b1db8aaaa9bb
treed4b3c855c9465504e610ccf33e36f94acb3169ec
parenta80a88e8ba7ac5e2afc5188add482f4e5323128e
rx: Remove resending logic into its own function

Create a new function, rxi_Resend, which is the entry point to running
the transmit queue as a result of a resend event. This concentrates all
of the resend logic into one place, removes the need for
rxi_StartUnlocked, and means that rxi_Start's arguments don't need to
match those of an event handler.

Change-Id: I550ebbbae63b7d659bb980eea709a14882038914
Reviewed-on: http://gerrit.openafs.org/4863
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c
src/rx/rx_prototypes.h
src/rx/rx_rdwr.c