Juergen Gross 80440ea033 xen: drain submit queue in xen-usb before removing device
When unplugging a device in the Xen pvusb backend drain the submit
queue before deallocation of the control structures. Otherwise there
will be bogus memory accesses when I/O contracts are finished.

Correlated to this issue is the handling of cancel requests: a packet
cancelled will still lead to the call of complete, so add a flag
to the request indicating it should be just dropped on complete.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Message-id: 1470140044-16492-3-git-send-email-jgross@suse.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-08-03 10:29:10 +02:00
..
2016-06-22 12:53:26 +02:00
2016-01-29 15:07:23 +00:00
2016-02-23 10:38:00 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-02-23 12:43:05 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-06-22 12:53:26 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-06-07 18:02:49 +03:00
2016-04-25 12:05:05 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2013-02-19 12:30:05 +01:00
2016-01-29 15:07:23 +00:00
2016-05-23 13:30:03 +02:00
2016-01-29 15:07:23 +00:00
2016-07-20 13:31:20 +02:00