summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-05-16 15:16:39 -0500
committerSage Weil <sage@inktank.com>2012-05-18 17:35:59 -0700
commit3da54776e2c0385c32d143fd497a7f40a88e29dd (patch)
tree4dac17103404f8f5a967c6855bcb9891080a600b /tools
parentdac1e716c60161867a47745bca592987ca3a9cb2 (diff)
downloadtalos-op-linux-3da54776e2c0385c32d143fd497a7f40a88e29dd.tar.gz
talos-op-linux-3da54776e2c0385c32d143fd497a7f40a88e29dd.zip
ceph: add auth buf in prepare_write_connect()
Move the addition of the authorizer buffer to a connection's out_kvec out of get_connect_authorizer() and into its caller. This way, the caller--prepare_write_connect()--can avoid adding the connect header to out_kvec before it has been fully initialized. Prior to this patch, it was possible for a connect header to be sent over the wire before the authorizer protocol or buffer length fields were initialized. An authorizer buffer associated with that header could also be queued to send only after the connection header that describes it was on the wire. Fixes http://tracker.newdream.net/issues/2424 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud