[PATCH] Call init_timer() for ISDN PPP CCP reset state timer
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 21 Dec 2006 22:06:24 +0000 (23:06 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 22:31:24 +0000 (14:31 -0800)
commitdab6df63086762629936e8b89a5984bae39724f6
tree9071f108ef5451e1c95f7d682076b37950fdba95
parentf2a67a576959025549a3b6a884bdd21f4dc107da
[PATCH] Call init_timer() for ISDN PPP CCP reset state timer

The function isdn_ppp_ccp_reset_alloc_state() sets ->timer.function
and ->timer.data and later on calls add_timer() with no init_timer()
ever done.

Noted by Al Viro.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/i4l/isdn_ppp.c