libceph: use the right footer size when skipping a message
authorIlya Dryomov <idryomov@gmail.com>
Fri, 19 Feb 2016 10:38:57 +0000 (11:38 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Feb 2016 19:28:40 +0000 (20:28 +0100)
commitdbc0d3caff5b7591e0cf8e34ca686ca6f4479ee1
tree50f8370c3f3fab15957fddcca32ace6707cb0f82
parente7a88e82fe380459b864e05b372638aeacb0f52d
libceph: use the right footer size when skipping a message

ceph_msg_footer is 21 bytes long, while ceph_msg_footer_old is only 13.
Don't skip too much when CEPH_FEATURE_MSG_AUTH isn't negotiated.

Cc: stable@vger.kernel.org # 3.19+
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/messenger.c