]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit53f7c7fa6bb7630e68ed05b2ecb74fe9af958fc5
tree52434f3ad069dadb6e70461888c2a068c44a9738
parent6f0157b2573bca4f14ffed64019b758a416c797e
[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