[PATCH] add_timer() of a pending timer is illegal
authorAndrew Morton <akpm@osdl.org>
Sun, 30 Oct 2005 23:02:24 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:21 +0000 (17:37 -0800)
commit15d2bace5ec907530a3d0e0cf4bb1bd29f3ad7b7
tree52434f3ad069dadb6e70461888c2a068c44a9738
parent2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d
[PATCH] add_timer() of a pending timer is illegal

In the recent timer rework we lost the check for an add_timer() of an
already-pending timer.  That check was useful for networking, so put it back.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/timer.h