uprobes: Don't put NULL pointer in uprobe_register()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 30 Aug 2012 17:26:22 +0000 (19:26 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 15 Sep 2012 15:34:05 +0000 (17:34 +0200)
commit6d1d8dfa8b65831cfa9a528e3d17efa7e7f4226c
tree2e13b65228f1c879bee978acc35ec7f6755f7ba5
parentded86e7c8fc4404414c4700010c9962ea8bd083a
uprobes: Don't put NULL pointer in uprobe_register()

alloc_uprobe() might return a NULL pointer, put_uprobe() can't deal with
this.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c