login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
18
Re: IPF Montvale machine panic when running a network-relevent testing
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Zhang, Yanmin <yanmin_zhang@...>
To: David Miller <davem@...>
Cc: <netdev@...>, <linux-kernel@...>, <linux-ia64@...>
Subject:
Re: IPF Montvale machine panic when running a network-relevent testing
Date: Wednesday, June 18, 2008 - 1:12 am
On Tue, 2008-06-17 at 20:37 -0700, David Miller wrote:
quoted text
> From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com> > Date: Wed, 18 Jun 2008 11:27:43 +0800 > > > This issue is caused by tcp defer accept. Mostly, process context calls lock_sock > > to apply a sleeping lock. BH (SoftIRQ) context calls bh_lock_sock(_nested) to just apply > > for the sk->sk_lock.slock without sleeping, then do appropriate processing based on > > if sk->sk_lock.owned==0. That works well if both process context and BH context operate > > the same sk at the same time. But with tcp defer accept, it doesn't, because > > process context(for example, in inet_csk_accept) locks the listen sk, while BH > > context (in tcp_v4_rcv, for example) locks the child sk and calls > > tcp_defer_accept_check => inet_csk_reqsk_queue_add => reqsk_queue_add, so there is a race > > to access the listen sock. > > > > Below patch against 2.6.26-rc6 fixes the issue. > > > > Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com> > > We reverted the guilty defer accept changes, please test Linus's > current tree.
I happened to download git tree on June 16th, which includes the reverting patch. I confirm it fixes the hang issue. -yanmin --
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:
IPF Montvale machine panic when running a network-relevent t...
, Zhang, Yanmin
, (Fri Jun 13, 4:19 am)
Re: IPF Montvale machine panic when running a network-releve...
, Zhang, Yanmin
, (Tue Jun 17, 11:27 pm)
Re: IPF Montvale machine panic when running a network-releve...
, David Miller
, (Tue Jun 17, 11:37 pm)
Re: IPF Montvale machine panic when running a network-releve...
, Zhang, Yanmin
, (Wed Jun 18, 1:12 am)
Re: IPF Montvale machine panic when running a network-releve...
, David Miller
, (Wed Jun 18, 1:25 am)
Re: IPF Montvale machine panic when running a network-releve...
, Rafael J. Wysocki
, (Fri Jun 13, 12:35 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
617 guests
online.
Online users
ivy1234
Syndicate