Commit a1f3bee2 authored by Sage Weil's avatar Sage Weil Committed by Jiri Slaby
Browse files

libceph: gracefully handle large reply messages from the mon



commit 73c3d481 upstream.

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.

Signed-off-by: default avatarSage Weil <sage@redhat.com>
Reviewed-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 2b84b406
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment