New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages/MOSDSubOp: Make encode_payload can be reentrant #12654

Merged
merged 1 commit into from Dec 27, 2016

Conversation

Projects
None yet
2 participants
@yuyuyu101
Member

yuyuyu101 commented Dec 24, 2016

Otherwise, AsyncConnection will use uninitialized feature to encode
message. The caller side will set a old version header but encode with newest
feature since passing feature is ok. It will let receiver side got a old
header version but newest payload decode result.

Signed-off-by: Haomai Wang haomai@xsky.com

messages/MOSDSubOp: Make encode_payload can be reentrant
Otherwise, AsyncConnection will use uninitialized feature to encode
message. The caller side will set a old version header but encode with newest
feature since passing feature is ok. It will let receiver side got a old
header version but newest payload decode result.

Signed-off-by: Haomai Wang <haomai@xsky.com>

@yuyuyu101 yuyuyu101 added this to the kraken milestone Dec 24, 2016

@liewegas liewegas merged commit 22adda2 into ceph:master Dec 27, 2016

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@yuyuyu101 yuyuyu101 deleted the yuyuyu101:wip-fix-async-subop branch Dec 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment