From: Alex Elder Date: Fri, 5 Apr 2013 19:46:01 +0000 (-0500) Subject: libceph: skip message if too big to receive X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f759ebb968dbf185fc079dd2e824b1aa3a3d71aa;p=pandora-kernel.git libceph: skip message if too big to receive We know the length of our message buffers. If we get a message that's too long, just dump it and ignore it. If skip was set then con->in_msg won't be valid, so be careful not to dereference a null pointer in the process. This resolves: http://tracker.ceph.com/issues/4664 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed