Commit:     7bb1bbe615de25d955b974cb47d40fa198154bb9
Parent:     2e360d81ea1fe1a7701e05cdefd3a91c11c3b13f
Author:     G. Liakhovetski <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 20:30:03 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Mar 20 00:09:41 2007 -0700

    [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.
    Signed-off-by: G. Liakhovetski <[EMAIL PROTECTED]>
    Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/irda/irttp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/irda/irttp.c b/net/irda/irttp.c
index a7486b3..da3f2bc 100644
--- a/net/irda/irttp.c
+++ b/net/irda/irttp.c
@@ -1455,6 +1455,7 @@ struct tsap_cb *irttp_dup(struct tsap_cb *orig, void 
        /* Not everything should be copied */
        new->notify.instance = instance;
+       spin_lock_init(&new->lock);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to