diff options
author | Li Zefan <[email protected]> | 2009-12-30 14:23:40 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-30 07:50:49 +0100 |
commit | e6d9491bf8ba6728cc86aeabbc688d20ec0563b5 (patch) | |
tree | 1ca34f9f0608f688069da43688b2a9b8fa163644 /net/lapb/lapb_iface.c | |
parent | 3d13ec2efdb5843ad91e57b60d50b44d922cf063 (diff) |
ksym_tracer: Fix race when incrementing count
We are under rcu read section but not holding the write lock, so
count++ is not atomic. Use atomic64_t instead.
Signed-off-by: Li Zefan <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: K.Prasad <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions