rx: hold call->lock across RXS_PreparePacket
authorSimon Wilkinson <sxw@your-file-system.com>
Wed, 14 Mar 2012 14:56:06 +0000 (10:56 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Mar 2012 15:24:40 +0000 (08:24 -0700)
commit0fdcf171a8d2b2153648b6b799096e09eb469beb
tree070e7841033d1a72033702129b2f8b381961038f
parent317b227a20a99960b313d06a3441822472d638c8
rx: hold call->lock across RXS_PreparePacket

RX Security Classes have a right to assume that when RXS_PreparePacket
is called that they have exclusive access to the rx_call structure.
Commit e445faa68c5ec6e47d3fd9d7318ade71d98703a9 unintentionally
failed to acquire the call->lock prior to RXS_PreparePacket being
called.

Change-Id: I5a9dfb2818fa17ba6fc1ab6f76ec5cde602c6f16
Reviewed-on: http://gerrit.openafs.org/6904
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/rx/rx_packet.c