fanchaoting 4376c94618 pnfs-block: removing DM device maybe cause oops when call dev_remove
when pnfs block using device mapper,if umounting later,it maybe
cause oops. we apply "1 + sizeof(bl_umount_request)" memory for
msg->data, the memory maybe overflow when we do "memcpy(&dataptr
[sizeof(bl_msg)], &bl_umount_request, sizeof(bl_umount_request))",
because the size of bl_msg is more than 1 byte.

Signed-off-by: fanchaoting<fanchaoting@cn.fujitsu.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-03-21 10:11:06 -04:00
..
2012-12-06 00:30:44 +01:00
2013-02-22 23:31:31 -05:00
2012-12-20 22:19:42 +00:00
2013-03-02 16:46:07 -08:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2013-02-22 23:31:31 -05:00
2012-07-30 19:06:46 -04:00
2013-02-22 23:31:31 -05:00
2012-07-30 19:06:52 -04:00
2013-02-24 10:07:36 -05:00
2013-02-22 23:31:31 -05:00