9d020a2e5f
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> |
||
---|---|---|
.. | ||
i2cmd.c | ||
i2cmd.h | ||
i2ellis.c | ||
i2ellis.h | ||
i2hw.h | ||
i2lib.c | ||
i2lib.h | ||
i2pack.h | ||
ip2.h | ||
ip2ioctl.h | ||
ip2main.c | ||
ip2trace.h | ||
ip2types.h | ||
Makefile |