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

From: channing
Date: Thu Oct 17 2013 - 21:30:41 EST


On Thu, 2013-10-17 at 10:14 -0700, Greg KH wrote:
> 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.
>

Hi Greg,
I viewed 3.12-rc4 and IMHO it still has this issue, Please correct me if I'm wrong.
This patch was based on 3.12-rc4, following is version info of my code base:

linux/Makefile:
VERSION = 3
PATCHLEVEL = 12
SUBLEVEL = 0
EXTRAVERSION = -rc4

And this version of patch has one line not correct, I updated it in another mail
with title "[PATCH v2]n_gsm:...", would you please check?

thanks a lot,
chao

--
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/