On Apr 3, 2005 11:51 AM, Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> wrote: > Em Fri, Apr 01, 2005 at 10:30:42PM -0500, Jon Smirl escreveu: > > This is what I see on boot. > > > > -- > > Jon Smirl > > [EMAIL PROTECTED] > > > > Linux version 2.6.12-rc1 ([EMAIL PROTECTED]) (gcc version > > 3.4.2 200410 > > 17 (Red Hat 3.4.2-6.fc3)) #21 SMP Fri Apr 1 22:09:28 EST 2005 > > found SMP MP-table at 000fe710 > > OK, SMP, could you please try this patch by James Bottomley that fixes > a brown paper bag bug in my proto_register patch? > > Regards, > > - Arnaldo > > ===== net/core/sock.c 1.67 vs edited ===== > --- 1.67/net/core/sock.c 2005-03-26 17:04:35 -06:00 > +++ edited/net/core/sock.c 2005-04-02 13:37:20 -06:00 > @@ -1352,7 +1352,7 @@ > > EXPORT_SYMBOL(sk_common_release); > > -static rwlock_t proto_list_lock; > +static DEFINE_RWLOCK(proto_list_lock); > static LIST_HEAD(proto_list); > > int proto_register(struct proto *prot, int alloc_slab) >
This patch fixes the boot problem. -- Jon Smirl [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

