Re: gnome-terminal acts funny in recent 2.5 series

From: Dave Jones (davej@suse.de)
Date: Tue Feb 19 2002 - 10:09:46 EST


On Tue, Feb 19, 2002 at 08:44:39PM +0900, OGAWA Hirofumi wrote:
> --- socket.c.orig Mon Feb 11 18:21:59 2002
> +++ socket.c Tue Feb 19 16:20:18 2002
> @@ -501,6 +501,8 @@ struct socket *sock_alloc(void)
> sock->ops = NULL;
> sock->sk = NULL;
> sock->file = NULL;
> +// init_waitqueue_head(&sock->wait); this is needed?
> + sock->passcred = 0;

 The first line is dead since 2.5.4, but the second is the important
 bit here. And as well as fixing the gnome-terminal weirdness, it
 also fixes the 'portmapper slows box to a crawl' problem, that
 Zwane, myself and rth saw..

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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 : Sat Feb 23 2002 - 21:00:20 EST