Re: [PATCH 4/4] TTY: ircomm: fix DTR being raised on hang up
From: David Miller
Date: Fri Apr 12 2013 - 13:23:22 EST
From: Johan Hovold <jhovold@xxxxxxxxx>
Date: Fri, 12 Apr 2013 10:32:31 +0200
> Make sure to check ASYNC_INITIALISED before raising DTR when waking up
> from blocked open in ircomm_tty_block_til_ready.
>
> Currently DTR could get raised at hang up as a blocked process would
> raise DTR unconditionally before checking for hang up and returning.
>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/