aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlan Cox <[email protected]>2008-08-26 19:55:58 +0100
committerLinus Torvalds <[email protected]>2008-08-27 14:37:09 -0700
commita152db71d962f405f7e9be5c818bddf6d1be50a7 (patch)
treeec9bd5c50f1e925318488d585a8504a552a63f30 /net/unix/sysctl_net_unix.c
parentf753f3272b4d2108d1e4b121ddcde504737a8693 (diff)
tty: Fix termios tty window resize race with pty/tty pair
Kanru Chen posted a patch versus the old code which deals with the case where you resize the pty side of a pty/tty pair. In that situation the termios data is updated for both pty and tty but the locks are not held for the right side. This implements the fix differently against the updated tty code. Patch by self but the hard bit (noticing and fixing the bug) is thanks to Kanru Chen. Signed-off-by: Alan Cox <[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