diff options
author | Mathieu Desnoyers <[email protected]> | 2009-11-17 14:40:26 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-11 11:24:53 -0800 |
commit | d3a3b0adad0865c12e39b712ca89efbd0a3a0dbc (patch) | |
tree | 31a8363a2e908d65514aa8f176ecfa7e57fc8f2a /net/lapb/lapb_iface.c | |
parent | 18ef545e47c126abd87c013b762b5fbb574858ce (diff) |
debugfs: fix create mutex racy fops and private data
Setting fops and private data outside of the mutex at debugfs file
creation introduces a race where the files can be opened with the wrong
file operations and private data. It is easy to trigger with a process
waiting on file creation notification.
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions