]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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@inktank.com>
Wed, 20 Jun 2012 12:43:50 +0000 (07:43 -0500)
commitb132cf4c733f91bb4dd2277ea049243cf16e8b66
tree1818eae2e75f6ee26c80736bfd11f15245ec79b2
parent88ed6ea0b295f8e2383d599a04027ec596cdf97b
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>
(cherry picked from commit 43643528cce60ca184fe8197efa8e8da7c89a037)
net/ceph/messenger.c