uprobes: Fix utask->xol_vaddr leak in pre_ssout()
authorOleg Nesterov <oleg@redhat.com>
Mon, 31 Dec 2012 17:12:48 +0000 (18:12 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:12 +0000 (17:47 +0100)
commitaba51024e7159c93914557caaa2b8cda26331091
tree9883f94fdefa1347040be590b336e809ba6d3300
parenta6cb3f6d51253e9cf21a38b17c025018117809d7
uprobes: Fix utask->xol_vaddr leak in pre_ssout()

pre_ssout() should do xol_free_insn_slot() if arch_uprobe_pre_xol()
fails, otherwise nobody will free the allocated slot.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c