Hi David, * David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> [2011-11-19 13:23:33 +0100]: > We cannot call module_put(THIS_MODULE) if this is our last reference. Otherwise, > this call may cleanup our module before it returns. > > Gladly, the kthread API provides a simple wrapper for us. So lets use > module_put_and_exit() to avoid a race condition with the module cleanup code. > > Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> > --- > net/bluetooth/bnep/core.c | 8 +++----- > 1 files changed, 3 insertions(+), 5 deletions(-) Both patches have been applied, thanks. Gustavo -- 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