linux/drivers/char/ip2
Akinobu Mita 9d020a2e5f ip2: avoid add_timer with pending timer
add_timer() is not supposed to be called when the timer is pending.
ip2 driver attempts to avoid that condition by setting and resetting
a flag (TimerOn) in timer function. But there is some gap between
add_timer() and setting TimerOn.

This patch fix this problem by using mod_timer() and remove TimerOn
which has been unnecessary by this change.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:39 -07:00
..
i2cmd.c [PATCH] ip2main.c warning fixes 2006-02-03 08:32:10 -08:00
i2cmd.h [PATCH] char: ip2 remove broken macro 2006-12-07 08:39:43 -08:00
i2ellis.c ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2ellis.h ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2hw.h Char: ip2, macros cleanup 2008-04-30 08:29:44 -07:00
i2lib.c tty: Ldisc revamp 2008-07-20 17:12:34 -07:00
i2lib.h [PATCH] i2Output always takes kernel data now 2006-10-11 11:17:07 -07:00
i2pack.h [PATCH] Fix pragma packing in ip2 driver 2006-01-04 13:55:35 -08:00
ip2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2main.c ip2: avoid add_timer with pending timer 2008-10-13 09:51:39 -07:00
ip2trace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Char: merge ip2main and ip2base 2008-10-13 09:51:39 -07:00