Skip to content
Commit 73c3d481 authored by Sage Weil's avatar Sage Weil Committed by Ilya Dryomov
Browse files

libceph: gracefully handle large reply messages from the mon



We preallocate a few of the message types we get back from the mon.  If we
get a larger message than we are expecting, fall back to trying to allocate
a new one instead of blindly using the one we have.

CC: stable@vger.kernel.org
Signed-off-by: default avatarSage Weil <sage@redhat.com>
Reviewed-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
parent 255939e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment