aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAlan Cox <[email protected]>2009-01-15 13:30:25 +0000
committerLinus Torvalds <[email protected]>2009-01-15 12:48:35 -0800
commitc0253eec2a8e1140dd9672a1efe095cdcf5811d0 (patch)
treec48dc5283ca4f01005295a97a28e532818aedce6 /net/lapb/lapb_iface.c
parent5393f780277165f282a37ed82dd878159ec9dad5 (diff)
tty: Fix race in the flush for some ldiscs
If you issue an ioctl to flush a tty as the line discipline is changing or otherwise unplugged you can get a crash. The bug is very old but the rest of the BKL lock dropping and some very "good" luck on Ingo's part caught an example. Use the correct ldisc_ref form so that we wait for the ldisc change to complete and then flush Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions