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: NSage Weil <sage@redhat.com> Reviewed-by: NIlya Dryomov <ilya.dryomov@inktank.com>
Showing
想要评论请 注册 或 登录