diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-07-29 18:22:29 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-30 09:27:20 (GMT) |
commit | 665605a2a207dbe1fa429b474f932d6ea138ba92 (patch) | |
tree | a9f99fcb3972a73066af4591dd3e818b8b14ab27 /arch | |
parent | 9f92448ceeea5326db7d114005a7e7ac03904edf (diff) | |
download | linux-fsl-qoriq-665605a2a207dbe1fa429b474f932d6ea138ba92.tar.xz |
uprobes: Uprobe_mmap/munmap needs list_for_each_entry_safe()
The bug was introduced by me in 449d0d7c ("uprobes: Simplify the
usage of uprobe->pending_list").
Yes, we do not care about uprobe->pending_list after return and
nobody can remove the current list entry, but put_uprobe(uprobe)
can actually free it and thus we need list_for_each_safe().
Reported-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com>
Cc: Anton Arapov <anton@redhat.com>
Link: http://lkml.kernel.org/r/20120729182229.GA20329@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions