Re: [PATCH] serial: flush ldisc after hangup

2016-03-01 Thread Josef Bacik
On 03/01/2016 02:01 PM, Peter Hurley wrote: On 03/01/2016 10:21 AM, Josef Bacik wrote: On 03/01/2016 01:17 PM, Peter Hurley wrote: Yeah, the race is that the ldisc should not be attempting i/o to the driver at all. This problem is fixed in -next already, but in the tty core rather than in eac

Re: [PATCH] serial: flush ldisc after hangup

2016-03-01 Thread Peter Hurley
On 03/01/2016 10:21 AM, Josef Bacik wrote: > On 03/01/2016 01:17 PM, Peter Hurley wrote: >> Yeah, the race is that the ldisc should not be attempting i/o to >> the driver at all. This problem is fixed in -next already, but in >> the tty core rather than in each individual tty driver. >> > > Gre

Re: [PATCH] serial: flush ldisc after hangup

2016-03-01 Thread Josef Bacik
On 03/01/2016 01:17 PM, Peter Hurley wrote: Hi Josef, On 03/01/2016 10:02 AM, Josef Bacik wrote: We hit a panic pretty consistently in production that looked like this PID: 461061 TASK: 880203f8bc00 CPU: 2 COMMAND: "kworker/u8:2" #0 [88015834b940] machine_kexec at 8103c1c

Re: [PATCH] serial: flush ldisc after hangup

2016-03-01 Thread Peter Hurley
Hi Josef, On 03/01/2016 10:02 AM, Josef Bacik wrote: > We hit a panic pretty consistently in production that looked like this > > PID: 461061 TASK: 880203f8bc00 CPU: 2 COMMAND: "kworker/u8:2" > #0 [88015834b940] machine_kexec at 8103c1c5 > #1 [88015834b990] crash_kexec a

[PATCH] serial: flush ldisc after hangup

2016-03-01 Thread Josef Bacik
We hit a panic pretty consistently in production that looked like this PID: 461061 TASK: 880203f8bc00 CPU: 2 COMMAND: "kworker/u8:2" #0 [88015834b940] machine_kexec at 8103c1c5 #1 [88015834b990] crash_kexec at 810cd448 #2 [88015834ba60] oops_end at 81