Re: [PATCH stable v4.4+] usb: gadget: serial: fix oops when data rx'd after close

2018-10-18 Thread Greg Kroah-Hartman
On Thu, Oct 18, 2018 at 04:28:20PM +0200, Krzysztof Kozlowski wrote: > From: Stephen Warren > > commit daa35bd95634a2a2d72d1049c93576a02711cb1a upstream > > When the gadget serial device has no associated TTY, do not pass any > received data into the TTY layer for processing; simply drop it

Re: [PATCH stable v4.4+] usb: gadget: serial: fix oops when data rx'd after close

2018-10-18 Thread Greg Kroah-Hartman
On Thu, Oct 18, 2018 at 04:28:20PM +0200, Krzysztof Kozlowski wrote: > From: Stephen Warren > > commit daa35bd95634a2a2d72d1049c93576a02711cb1a upstream > > When the gadget serial device has no associated TTY, do not pass any > received data into the TTY layer for processing; simply drop it

[PATCH stable v4.4+] usb: gadget: serial: fix oops when data rx'd after close

2018-10-18 Thread Krzysztof Kozlowski
From: Stephen Warren commit daa35bd95634a2a2d72d1049c93576a02711cb1a upstream When the gadget serial device has no associated TTY, do not pass any received data into the TTY layer for processing; simply drop it instead. This prevents the TTY layer from calling back into the gadget serial

[PATCH stable v4.4+] usb: gadget: serial: fix oops when data rx'd after close

2018-10-18 Thread Krzysztof Kozlowski
From: Stephen Warren commit daa35bd95634a2a2d72d1049c93576a02711cb1a upstream When the gadget serial device has no associated TTY, do not pass any received data into the TTY layer for processing; simply drop it instead. This prevents the TTY layer from calling back into the gadget serial