diff options
| author | Greg Kroah-Hartman <[email protected]> | 2009-12-17 15:07:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-01-20 23:03:31 +0000 |
| commit | 703625118069f9f8960d356676662d3db5a9d116 (patch) | |
| tree | fe46ee6784dee41dbb9b642a1f551a1adfa44710 /net/lapb/lapb_in.c | |
| parent | serial: serial_cs: oxsemi quirk breaks resume (diff) | |
| download | kernel-703625118069f9f8960d356676662d3db5a9d116.tar.gz kernel-703625118069f9f8960d356676662d3db5a9d116.zip | |
tty: fix race in tty_fasync
We need to keep the lock held over the call to __f_setown() to
prevent a PID race.
Thanks to Al Viro for pointing out the problem, and to Travis for
making us look here in the first place.
Cc: Eric W. Biederman <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Tavis Ormandy <[email protected]>
Cc: Jeff Dike <[email protected]>
Cc: Julien Tinnes <[email protected]>
Cc: Matt Mackall <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
