diff options
author | Steven Rostedt <[email protected]> | 2008-12-23 11:32:24 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-12-23 18:45:25 +0100 |
commit | a8ccf1d6f60e3e6ae63122e02378cd4d40dd4aac (patch) | |
tree | 98a55b2caf4315617fbb9187e5a15c7f53740ff8 /net/lapb/lapb_iface.c | |
parent | 30cd324e9787ccc9a5ede59742d5409857550692 (diff) |
ring-buffer: fix dangling commit race
Impact: fix stuck trace-buffers
If an interrupt comes in during the rb_set_commit_to_write and
pushes the tail page forward just at the right time, the commit
updates will miss the adding of the interrupt data. This will
cause the commit pointer to cease from moving forward.
Thanks to Jiaying Zhang for finding this race.
Reported-by: Jiaying Zhang <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Cc: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions