diff options
author | Alan Cox <[email protected]> | 2006-09-29 02:01:40 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2006-09-29 09:18:24 -0700 |
commit | 5f412b24240d92212e50ebbaff2dff20c9e6f3d0 (patch) | |
tree | 4929d68d6949c887fbd3fb0594b0c1ec5a7e765d /net/unix/sysctl_net_unix.c | |
parent | 67cc0161ecc9ebee6eba4af6cbfdba028090b1b9 (diff) |
[PATCH] Fix locking for tty drivers when doing urgent characters
If you send a priority character (as is done for flow control) then the tty
driver can either have its own method for "jumping the queue" or the characrer
can be queued normally. In the latter case we call the write method but
without the atomic_write_lock taken elsewhere.
Make this consistent. Note that the send_xchar method if implemented remains
outside of the lock as it can jump ahead of a current write so must not be
locked out by it.
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions