[PATCH 0/7] uas: various fixes, add error handling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi,

This patch series improves usb attached scsi support.  It reverts two
bogus fixes which just trade one bug for another, then it fixes the
issues properly.

Any use-after-free issues, leading to horrific "BUG kmalloc-192 (Not
tainted): Poison overwritten" messages and sometimes kernel panics are
gone.

The last patch adds task management support and winds it up in the scsi
error handling callbacks.

Could test it only in non-streams mode, so some additional testing with
usb3 gear would be great.  Reviews are very welcome too.

cheers,
  Gerd

Gerd Hoffmann (7):
  Revert "usb/uas: make sure data urb is gone if we receive status
    before that"
  Revert "usb/uas: one only one status URB/host on stream-less
    connection"
  uas: fix sense urb handling
  uas: keep track of command state, finish scsi cmd when really done.
  uas: improve error handling
  uas: track urbs, kill inflight urbs on disconnect.
  uas: task mgmt & error handling

 drivers/usb/storage/uas.c |  422 ++++++++++++++++++++++++++------------------
 include/linux/usb/uas.h   |   40 +++++
 2 files changed, 289 insertions(+), 173 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux