Hi David, On Sat, Oct 29, 2011 at 4:34 PM, David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> wrote: > @@ -1033,6 +1032,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, > product = 0x0000; > } > > + __module_get(THIS_MODULE); > session->task = kthread_run(hidp_session, session, "khidpd_%04x%04x", > vendor, product); > if (IS_ERR(session->task)) { Can this leak if kthread_run() fails? Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html