]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2013 17:07:57 +0000 (10:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2013 17:07:57 +0000 (10:07 -0700)
added patches:
revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch

queue-3.4/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch b/queue-3.4/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch
new file mode 100644 (file)
index 0000000..f695098
--- /dev/null
@@ -0,0 +1,33 @@
+From foo@baz Wed Apr  3 10:05:41 PDT 2013
+Date: Wed, 03 Apr 2013 10:05:41 -0700
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: Revert "xen/blkback: Don't trust the handle from the frontend."
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit c93c85196e2c7001daa8a04b83a9d6dd4febfb59 which is
+commit 01c681d4c70d64cb72142a2823f27c4146a02e63 upstream.
+
+It shouldn't have been applied to the 3.4-stable tree, sorry about that.
+
+Reported-by: William Dauchy <wdauchy@gmail.com>
+Cc: Jan Beulich <jbeulich@suse.com>
+Cc: Ian Campbell <ian.campbell@citrix.com>
+Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/block/xen-blkback/blkback.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/block/xen-blkback/blkback.c
++++ b/drivers/block/xen-blkback/blkback.c
+@@ -646,6 +646,7 @@ static int dispatch_rw_block_io(struct x
+               goto fail_response;
+       }
++      preq.dev           = req->u.rw.handle;
+       preq.sector_number = req->u.rw.sector_number;
+       preq.nr_sects      = 0;
index fd11ad2a6016a0475db414a1816dab1f23835e5f..5edea8d78b88f093d613359a1163499e96a9a74f 100644 (file)
@@ -67,3 +67,4 @@ net-add-a-synchronize_net-in-netdev_rx_handler_unregister.patch
 pch_gbe-fix-ip_summed-checksum-reporting-on-rx.patch
 smsc75xx-fix-jumbo-frame-support.patch
 bonding-get-netdev_rx_handler_unregister-out-of-locks.patch
+revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch