From: Sage Weil Date: Mon, 4 Aug 2014 14:01:54 +0000 (-0700) Subject: libceph: gracefully handle large reply messages from the mon X-Git-Tag: v3.2.64~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0fddbf7ec235d49847efcda0d3c901d7964ba5;p=pandora-kernel.git libceph: gracefully handle large reply messages from the mon commit 73c3d4812b4c755efeca0140f606f83772a39ce4 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: Sage Weil Reviewed-by: Ilya Dryomov Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed