* [PATCH] fix uninitialized proto_list_lock
@ 2005-04-04 17:30 Benjamin LaHaise
2005-04-04 17:42 ` David S. Miller
2005-04-04 17:45 ` Arnaldo Carvalho de Melo
0 siblings, 2 replies; 3+ messages in thread
From: Benjamin LaHaise @ 2005-04-04 17:30 UTC (permalink / raw)
To: davem; +Cc: netdev
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;
static LIST_HEAD(proto_list);
int proto_register(struct proto *prot, int alloc_slab)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fix uninitialized proto_list_lock
2005-04-04 17:30 [PATCH] fix uninitialized proto_list_lock Benjamin LaHaise
@ 2005-04-04 17:42 ` David S. Miller
2005-04-04 17:45 ` Arnaldo Carvalho de Melo
1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2005-04-04 17:42 UTC (permalink / raw)
To: Benjamin LaHaise; +Cc: netdev
On Mon, 4 Apr 2005 13:30:10 -0400
Benjamin LaHaise <bcrl@kvack.org> wrote:
> Please apply the following patch which fixes a BUG() on boot when the
> kernel is compiled with spinlock debugging in bk head. Cheers,
This is already in Linus's tree.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fix uninitialized proto_list_lock
2005-04-04 17:30 [PATCH] fix uninitialized proto_list_lock Benjamin LaHaise
2005-04-04 17:42 ` David S. Miller
@ 2005-04-04 17:45 ` Arnaldo Carvalho de Melo
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2005-04-04 17:45 UTC (permalink / raw)
To: Benjamin LaHaise; +Cc: davem, netdev
On Apr 4, 2005 2:30 PM, Benjamin LaHaise <bcrl@kvack.org> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-04 17:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04 17:30 [PATCH] fix uninitialized proto_list_lock Benjamin LaHaise
2005-04-04 17:42 ` David S. Miller
2005-04-04 17:45 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.