Re: [PATCH 2/2] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-04 Thread Mathias Nyman
On 01.12.2017 17:23, Greg Kroah-Hartman wrote: On Fri, Dec 01, 2017 at 06:38:16AM -0800, Guenter Roeck wrote: On Fri, Dec 1, 2017 at 3:41 AM, Mathias Nyman wrote: From: Yu Chen Check vdev->real_port 0 to avoid panic [9.261347] [] xhci_free_virt_devices_depth_first+0x58/0x108 [9.2613

Re: [PATCH 2/2] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-01 Thread Greg Kroah-Hartman
On Fri, Dec 01, 2017 at 06:38:16AM -0800, Guenter Roeck wrote: > On Fri, Dec 1, 2017 at 3:41 AM, Mathias Nyman > 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+

Re: [PATCH 2/2] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-01 Thread Guenter Roeck
On Fri, Dec 1, 2017 at 3:41 AM, Mathias Nyman 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_r

[PATCH 2/2] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-01 Thread Mathias Nyman
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.261369] [] xhci_plat_remove+0x6c/0xa8 [