android_kernel_xiaomi_sm8350/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
i2cmd.h
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
i2pack.h
ip2.h
ip2ioctl.h
ip2main.c ip2: avoid add_timer with pending timer 2008-10-13 09:51:39 -07:00
ip2trace.h
ip2types.h
Makefile Char: merge ip2main and ip2base 2008-10-13 09:51:39 -07:00