login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
14
Re: [PATCH] ip2: avoid add_timer() with pending timer
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Alan Cox <alan@...>
To: Akinobu Mita <akinobu.mita@...>
Cc: <linux-kernel@...>, Michael H. Warfield <mhw@...>
Subject:
Re: [PATCH] ip2: avoid add_timer() with pending timer
Date: Monday, July 14, 2008 - 9:33 am
On Mon, 14 Jul 2008 11:49:55 +0900 Akinobu Mita <akinobu.mita@gmail.com> wrote:
quoted text
> add_timer() is not suppose 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> > Cc: Michael H. Warfield <mhw@wittsend.com>
Acked-by: Alan Cox <alan@redhat.com> Queued for ttydev tree Alan --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] ip2: avoid add_timer() with pending timer
, Akinobu Mita
, (Sun Jul 13, 10:49 pm)
Re: [PATCH] ip2: avoid add_timer() with pending timer
, Andrew Morton
, (Mon Jul 14, 1:04 pm)
Re: [PATCH] ip2: avoid add_timer() with pending timer
, Akinobu Mita
, (Mon Jul 14, 11:06 pm)
Re: [PATCH] ip2: avoid add_timer() with pending timer
, Alan Cox
, (Mon Jul 14, 9:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Daniel Walker
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Hannes Eder
[PATCH 01/43] drivers/net/at1700.c: fix sparse warning: symbol shadows an earlier ...
Gerrit Renker
[PATCH 16/37] dccp: API to query the current TX/RX CCID
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
918 guests
online.
Online users
maheshdm
strcmp
howsellgold
honeyairtuz
Syndicate