diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 15:33:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 16:34:36 -0800 |
commit | 4ed60fc257185dbb0daea7cd3e4289d1658b11f6 (patch) | |
tree | 45f256d65961d5b86d33946eda270d401521aab2 /drivers/tty/n_tty.c | |
parent | 2622d73e51acfe1dbeb21bf2299066bdead85163 (diff) | |
download | linux-4ed60fc257185dbb0daea7cd3e4289d1658b11f6.tar.gz linux-4ed60fc257185dbb0daea7cd3e4289d1658b11f6.tar.bz2 linux-4ed60fc257185dbb0daea7cd3e4289d1658b11f6.zip |
pty: Hold ctrl_lock for packet mode updates
Updates to the packet mode enable require holding the ctrl_lock;
the serialization prevents corruption of adjacent fields.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions