rbd: Clear ceph_msg->bio_iter for retransmitted message
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 7 Jun 2012 00:35:55 +0000 (19:35 -0500)
committerAlex Elder <elder@dreamhost.com>
Thu, 7 Jun 2012 13:27:33 +0000 (08:27 -0500)
commit43643528cce60ca184fe8197efa8e8da7c89a037
treeb374f11881ac017c4bed056bee1b4de195c482d7
parent8921d114f5574c6da2cdd00749d185633ecf88f3
rbd: Clear ceph_msg->bio_iter for retransmitted message

The bug can cause NULL pointer dereference in write_partial_msg_pages

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Reviewed-by: Alex Elder <elder@inktank.com>
net/ceph/messenger.c