From: Oleg Nesterov Date: Fri, 14 Sep 2012 16:03:59 +0000 (+0200) Subject: uprobes: Do not leak UTASK_BP_HIT if find_active_uprobe() fails X-Git-Tag: v3.7-rc3~40^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d54b249c176ba4abb9a580951400246dd974b1;p=pandora-kernel.git uprobes: Do not leak UTASK_BP_HIT if find_active_uprobe() fails If handle_swbp()->find_active_uprobe() fails we return with utask->state = UTASK_BP_HIT. Change handle_swbp() to reset utask->state at the start. Note that we do this unconditionally, see the next patch(es). Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed