Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-28 Thread Alan Cox
On Sun, 28 Oct 2012 11:04:46 +0100 Jiri Slaby wrote: > On 10/02/2012 12:13 AM, Greg KH wrote: > > On Mon, Oct 01, 2012 at 11:48:58PM +0200, Jiri Slaby wrote: > >> On 10/01/2012 08:30 PM, Greg KH wrote: > >>> Stanislav Kozina (2): > >>> tty: Fix possible race in n_tty_read() > >> > >> The (p

Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-28 Thread Jiri Slaby
On 10/02/2012 12:13 AM, Greg KH wrote: > On Mon, Oct 01, 2012 at 11:48:58PM +0200, Jiri Slaby wrote: >> On 10/01/2012 08:30 PM, Greg KH wrote: >>> Stanislav Kozina (2): >>> tty: Fix possible race in n_tty_read() >> >> The (pretty hopeless) commit log says: >> Fix possible panic caused by

Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-01 Thread Greg KH
On Mon, Oct 01, 2012 at 11:48:58PM +0200, Jiri Slaby wrote: > On 10/01/2012 08:30 PM, Greg KH wrote: > > Stanislav Kozina (2): > > tty: Fix possible race in n_tty_read() > > The (pretty hopeless) commit log says: > Fix possible panic caused by unlocked access to tty->read_cnt in > wh

Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-01 Thread Jiri Slaby
On 10/01/2012 08:30 PM, Greg KH wrote: > Stanislav Kozina (2): > tty: Fix possible race in n_tty_read() The (pretty hopeless) commit log says: Fix possible panic caused by unlocked access to tty->read_cnt in while-loop condition in n_tty_read(). Just curious, what kind of panic that