aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-07-29 20:22:29 +0200
committerIngo Molnar <[email protected]>2012-07-30 11:27:20 +0200
commit665605a2a207dbe1fa429b474f932d6ea138ba92 (patch)
treea9f99fcb3972a73066af4591dd3e818b8b14ab27 /lib/mpi/mpi-internal.h
parent9f92448ceeea5326db7d114005a7e7ac03904edf (diff)
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 <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com> Cc: Anton Arapov <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions