[PATCH master 0/6] usb: gadget: multi: fix bind error path

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

 



USB mass storage gadget may fail during bind. USB multi gadget error
path for failed bind is broken. USB mass storage gadget unbind leaks
resources. Fix these three issues.

Ahmad Fatoum (6):
  usb: gadget: implement and use system_partitions_get_null
  usb: gadget: don't register UMS with empty function
  usb: gadget: mass-storage: fix clean up of file descriptors
  usb: gadget: mass-storage: reference count allocations used in bthread
  usb: gadget: multi: fix broken handling of USB function bind error
  usb: gadget: multi: free UMS instance at multi_unbind time

 common/fastboot.c                   |  4 +-
 common/usbgadget.c                  |  6 +--
 drivers/usb/gadget/f_mass_storage.c | 64 +++++++++++++++++++++++------
 drivers/usb/gadget/multi.c          | 24 ++++++++---
 include/system-partitions.h         |  8 ++++
 include/usb/mass_storage.h          |  1 +
 6 files changed, 81 insertions(+), 26 deletions(-)

-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux