Re: [PATCH] n_gsm: race between ld close and gsmtty open

From: Greg KH
Date: Thu Oct 17 2013 - 13:15:07 EST


On Thu, Oct 17, 2013 at 11:29:10AM +0800, channing wrote:
>
> ttyA has ld associated to n_gsm, when ttyA is closing, it triggers
> to release gsmttyB's ld data dlci[B], then race would happen if gsmttyB
> is opening in parallel.
>
> Here are some of race cases we found recently in test:

Are these still an issue with 3.12-rc4? Lots of pty rework has gone
into there that should help to resolve some of these problems.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/