Hi,

this series fixes hub_configure() error handling that causes hub->ports[i]
NULL pointer dereferences.


Changes in v3:

Added Acked-by from Alan Stern.

Changes in v2:

After review by Alan Stern. The new label has been placed in other place
to avoid changes in existing code. Third patch "usb: don't use bNbrPorts
after initialization" has been added.


The first version has been posted here:

https://lkml.org/lkml/2013/8/20/469

Krzysiek


Krzysztof Mazur (3):
  usb: fix cleanup after failure in hub_configure()
  usb: fail on usb_hub_create_port_device() errors
  usb: don't use bNbrPorts after initialization

 drivers/usb/core/hub.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

-- 
1.8.4.rc4.527.g303b16c

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

Reply via email to