Re: [PATCH v3] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-07 Thread Guenter Roeck
On Mon, Nov 6, 2017 at 6:01 PM, Yu Chen wrote: > From: Yu Chen > > Check vdev->real_port 0 to avoid panic > [9.261347] [] > xhci_free_virt_devices_depth_first+0x58/0x108 > [9.261352] [] xhci_mem_cleanup+0x1bc/0x570 > [9.261355] [] xhci_stop+0x140/0x1c8 > [9.261365] [] usb_remove_

Re: [PATCH v3] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-07 Thread Mathias Nyman
On 07.11.2017 04:01, Yu Chen wrote: From: Yu Chen Check vdev->real_port 0 to avoid panic [9.261347] [] xhci_free_virt_devices_depth_first+0x58/0x108 [9.261352] [] xhci_mem_cleanup+0x1bc/0x570 [9.261355] [] xhci_stop+0x140/0x1c8 [9.261365] [] usb_remove_hcd+0xfc/0x1d0 [9.261