Re: Linux 2.5.69

Rusty Russell (rusty@rustcorp.com.au)
Wed, 07 May 2003 12:22:05 +1000


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/