IrDA: irttp_dup spin_lock initialisation
Subsystems (2)
PATCH 2/3 IrDA: irttp_dup spin_lock initialisation
Without this initialization one gets
kernel BUG at kernel/rtmutex_common.h:80!
This patch should also be included in the -stable kernel.
--- net/irda/irttp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
net/irda/irttp.c +1 -0
@@ -1455,6 +1455,7 @@ struct tsap_cb *irttp_dup(struct tsap_cb *orig, void *instance)/* Not everything should be copied */ new->notify.instance = instance; +spin_lock_init (&new->lock);init_timer (&new->todo_timer);skb_queue_head_init (&new->rx_queue);
Signature · 8 lines
1.5.0.2 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
AppliedFrom: Samuel Ortiz <[email protected]>
Date: Sat, 17 Mar 2007 04:04:27 +0200
Quoted 8 lines
Without this initialization one gets
kernel BUG at
kernel/rtmutex_common.h:80!This patch should also be included in the -stable kernel.
Signed-off-by G. Liakhovetski <gl-o/[email protected]>Signed-off-by Samuel Ortiz <[email protected]>
Applied.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV