netdev
[Top] [All Lists]

Re: [PATCH] fix uninitialized proto_list_lock

To: Benjamin LaHaise <bcrl@xxxxxxxxx>
Subject: Re: [PATCH] fix uninitialized proto_list_lock
From: Arnaldo Carvalho de Melo <arnaldo.melo@xxxxxxxxx>
Date: Mon, 4 Apr 2005 14:45:30 -0300
Cc: davem@xxxxxxxxxx, netdev@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iscThFzpwHhGqjnirB8wtlISRQdIOFHHB0SmyeGue0FNMXYNhckUCVCyKJEnzBj9AzslfjFVjeZY95zq214PwsnN60q6clWl22zdbGKAeNIw6kr8QPu3gPp92uWtkSJWm1djGl0gPFwK+RiSXMVrwoCf8SLwmu7hOyJ6G8RBve8=
In-reply-to: <20050404173010.GA19451@xxxxxxxxx>
References: <20050404173010.GA19451@xxxxxxxxx>
Reply-to: acme@xxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Apr 4, 2005 2:30 PM, Benjamin LaHaise <bcrl@xxxxxxxxx> wrote:
> Please apply the following patch which fixes a BUG() on boot when the
> kernel is compiled with spinlock debugging in bk head.  Cheers,
> 
>                 -ben
> 
> ===== net/core/sock.c 1.67 vs edited =====
> --- 1.67/net/core/sock.c        2005-03-26 18:04:35 -05:00
> +++ edited/net/core/sock.c      2005-04-04 12:46:26 -04:00
> @@ -1352,7 +1352,7 @@
> 
>  EXPORT_SYMBOL(sk_common_release);
> 
> -static rwlock_t proto_list_lock;
> +static rwlock_t proto_list_lock = RW_LOCK_UNLOCKED;

This was already fixed by James Bottomley and its in Dave tree waiting for Linus
to do a pull.

Thanks anyway!

- Arnaldo

<Prev in Thread] Current Thread [Next in Thread>