Received: with ECARTIS (v1.0.0; list netdev); Mon, 04 Apr 2005 10:45:46 -0700 (PDT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j34HjcKR009540 for ; Mon, 4 Apr 2005 10:45:38 -0700 Received: by wproxy.gmail.com with SMTP id 68so1642512wri for ; Mon, 04 Apr 2005 10:45:32 -0700 (PDT) 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= Received: by 10.54.15.26 with SMTP id 26mr77695wro; Mon, 04 Apr 2005 10:45:31 -0700 (PDT) Received: by 10.54.72.15 with HTTP; Mon, 4 Apr 2005 10:45:30 -0700 (PDT) Message-ID: <39e6f6c7050404104578221d01@mail.gmail.com> Date: Mon, 4 Apr 2005 14:45:30 -0300 From: Arnaldo Carvalho de Melo Reply-To: acme@conectiva.com.br To: Benjamin LaHaise Subject: Re: [PATCH] fix uninitialized proto_list_lock Cc: davem@redhat.com, netdev@oss.sgi.com In-Reply-To: <20050404173010.GA19451@kvack.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050404173010.GA19451@kvack.org> X-Virus-Scanned: ClamAV 0.83/804/Mon Apr 4 07:38:58 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 1366 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: arnaldo.melo@gmail.com Precedence: bulk X-list: netdev On Apr 4, 2005 2:30 PM, Benjamin LaHaise 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