login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
3
Re: [PATCH] net: fix race in process_backlog
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Stephen Hemminger <shemminger@...>
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: linux-kernel <linux-kernel@...>, netdev <netdev@...>, Jeff Dike <jdike@...>, David Miller <davem@...>
Subject:
Re: [PATCH] net: fix race in process_backlog
Date: Wednesday, October 3, 2007 - 12:15 pm
On Wed, 03 Oct 2007 17:44:53 +0200 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
quoted text
> Subject: net: fix race in process_backlog > > The recent NAPI rework (4fa57c9ea9f36f9ca852f3a88ca5d2f1aebbc960) > introduced a race between netif_rx() and process_backlog() which > resulted in softirq processing to drop dead. > > netif_rx() process_backlog() > > irq_disable(); > skb = __skb_dequeue(); > irq_enable(); > > irq_disable(); > __skb_queue_tail(); > napi_schedule(); > irq_enable(); > > if (!skb) > napi_complete(); <-- oops! > > we cleared the napi bit, even though there is data to process. > > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Stephen Hemminger <shemminger@linux-foundation.org> -- Stephen Hemminger <shemminger@linux-foundation.org> -
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] net: fix race in process_backlog
, Peter Zijlstra
, (Wed Oct 3, 11:44 am)
Re: [PATCH] net: fix race in process_backlog
, David Miller
, (Wed Oct 3, 5:58 pm)
Re: [PATCH] net: fix race in process_backlog
, Stephen Hemminger
, (Wed Oct 3, 6:05 pm)
Re: [PATCH] net: fix race in process_backlog
, David Miller
, (Wed Oct 3, 7:39 pm)
Re: [PATCH] net: fix race in process_backlog
, Stephen Hemminger
, (Wed Oct 3, 12:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jeff Chua
2.6.27rc1 cannot boot more than 8CPUs
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Andrew Dickinson
tx queue hashing hot-spots and poor performance (multiq, ixgbe)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Colocation donated by:
Who's online
There are currently
0 users
and
527 guests
online.
Syndicate