Commit:     dab6df63086762629936e8b89a5984bae39724f6
Parent:     f2a67a576959025549a3b6a884bdd21f4dc107da
Author:     Marcel Holtmann <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 21 23:06:24 2006 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Dec 22 14:31:24 2006 -0800

    [PATCH] Call init_timer() for ISDN PPP CCP reset state timer
    The function isdn_ppp_ccp_reset_alloc_state() sets ->timer.function
    and -> and later on calls add_timer() with no init_timer()
    ever done.
    Noted by Al Viro.
    Signed-off-by: Marcel Holtmann <[EMAIL PROTECTED]>
    Cc: Al Viro <[EMAIL PROTECTED]>
    Cc: Karsten Keil <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/isdn/i4l/isdn_ppp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c
index 1726131..4e3f127 100644
--- a/drivers/isdn/i4l/isdn_ppp.c
+++ b/drivers/isdn/i4l/isdn_ppp.c
@@ -2339,6 +2339,7 @@ static struct ippp_ccp_reset_state 
*isdn_ppp_ccp_reset_alloc_state(struct ippp_s
                rs->state = CCPResetIdle;
                rs->is = is;
                rs->id = id;
+               init_timer(&rs->timer);
                rs-> = (unsigned long)rs;
                rs->timer.function = isdn_ppp_ccp_timer_callback;
                is->reset->rs[id] = rs;
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