Re: Linux 2.5.69

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue May 06 2003 - 21:22:05 EST


In message <20030506182444.GC24780@conectiva.com.br> you write:
> > On Tue, 2003-05-06 at 06:39, Roger Luethi wrote:
> > > I'm seeing "kernel BUG at include/linux/module.h:284!" with 2.5.69.

Clearly, this statement in sys_accept is false:

        /*
         * We don't need try_module_get here, as the listening socket (sock)
         * has the protocol module (sock->ops->owner) held.
         */
        __module_get(sock->ops->owner);

Now, the question is, when is this not true? sock_create certainly
seems to grab a reference count to sock->ops->owner. Maybe a
refcounting bug elsewhere?

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:29 EST