Re: [PATCH] tty: Prevent deadlock in n_gsm driver

From: Dirkjan Bussink
Date: Wed Jan 30 2013 - 04:55:08 EST



On 30 Jan 2013, at 06:12, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> It doesn't apply cleanly to the linux-next tree, can you refresh this
> and resend it so that I can apply it? If you want it backported to the
> stable kernel releases, we can only do that after it gets into Linus's
> tree, see the file, Documentation/stable_kernel_rules.txt for details
> about this.

I've reapplied the patch to linux-next and submitted it just now. Is there
anything additionally that needs to be done to merge this back to stable
after this patch is applied?

I also changed the additional check conditions by changing them into

if (dlci->state == DLCI_CLOSED)

During testing I've found that there can be a case where gsmtty_ioctl was called
while it was still in the state DLCI_OPENING and this is not a problematic case.
Therefore I changed the check from the original patch to the one shown in the
new one.

--
Regards,

Dirkjan Bussink

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