commit | 4ed60fc257185dbb0daea7cd3e4289d1658b11f6 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Thu Oct 16 15:33:28 2014 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 16:34:36 2014 -0800 |
tree | 45f256d65961d5b86d33946eda270d401521aab2 | |
parent | 2622d73e51acfe1dbeb21bf2299066bdead85163 [diff] |
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>