APPLIED: [SRU][Vivid][Wily][PATCH 0/1] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

Kamal Mostafa kamal at canonical.com
Tue Nov 17 21:02:14 UTC 2015


On Thu, 2015-11-12 at 13:24 -0500, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1512815
> 
> == Wily and Vivid SRU Justification ==
> 
> The bug reported ran into a program stall on a x86_64 server, where n_tty_read() 
> was waiting for data even if there was data in the buffer in the pty.  
> 
> Commit e81107d fixes this issue and has been in mainline since v4.3-rc5.  The commit has
> been cc'd to stable, but has not yet landed.
> 
> The commit is a clean cherry-pick for Vivid and Wily.  However, Trusty requres a minor 
> backport, so the SRU request for Trusty will be separate.


This had already been applied to Wily via stable.

It has now been applied to Vivid also.

 -Kamal


> 
> == Fix ==
> 
> commit e81107d4c6bd098878af9796b24edc8d4a9524fd
> Author: Kosuke Tatsukawa <tatsu at ab.jp.nec.com>
> Date:   Fri Oct 2 08:27:05 2015 +0000
> 
>     tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c
> 
> 
> == Test Case ==
> 
> A test kernel was built with this patch and tested by the original bug reporter.
> The bug reporter states the test kernel resolved the bug.
> 
> 
> Kosuke Tatsukawa (1):
>   tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c
> 
>  drivers/tty/n_tty.c | 15 +++++----------
>  1 file changed, 5 insertions(+), 10 deletions(-)
> 
> -- 
> 1.9.1
> 
> 






More information about the kernel-team mailing list