Received: with ECARTIS (v1.0.0; list netdev); Thu, 09 Sep 2004 04:57:10 -0700 (PDT) Received: from mailin.studentenwerk.mhn.de (neu-ulm.studentenwerk.mhn.de [141.84.225.226]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id i89Bv3YR014583 for ; Thu, 9 Sep 2004 04:57:04 -0700 Received: (qmail 14536 invoked from network); 9 Sep 2004 11:56:48 -0000 Received: from s007003.int.studentenwerk.mhn.de (HELO mailhub.studentenwerk.mhn.de) (10.148.7.3) by mailin.peri.studentenwerk.mhn.de with SMTP; 9 Sep 2004 11:56:48 -0000 Received: (qmail 3234 invoked from network); 9 Sep 2004 11:56:48 -0000 Received: from mist.studentenwerk.mhn.de (10.148.0.24) by mailhub.studentenwerk.mhn.de with SMTP; 9 Sep 2004 11:56:48 -0000 From: Wolfgang Walter Organization: Studentenwerk =?iso-8859-1?q?M=FCnchen?= To: "David S. Miller" Subject: Re: Bad: scheduling while atomic! in 2.6.8.1 Date: Thu, 9 Sep 2004 13:56:47 +0200 User-Agent: KMail/1.6.2 Cc: netdev@oss.sgi.com, greearb@candelatech.com, shemminger@osdl.org References: <200409082342.37273.wolfgang.walter@studentenwerk.mhn.de> <20040908212659.4cd99935.davem@davemloft.net> In-Reply-To: <20040908212659.4cd99935.davem@davemloft.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200409091356.47325.wolfgang.walter@studentenwerk.mhn.de> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id i89Bv3YR014583 X-archive-position: 8554 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: wolfgang.walter@studentenwerk.mhn.de Precedence: bulk X-list: netdev Content-Length: 1648 Lines: 58 Am Donnerstag, 9. September 2004 06:26 schrieb David S. Miller: > On Wed, 8 Sep 2004 23:42:37 +0200 > > Wolfgang Walter wrote: > > We see the exactly the same with 2.6.8.1. > > > > Our host has 3 nics (all 3 are intel e100). We are using vlan, iptables > > (no nat or connection tracking, though) and ipsec. We tested it on other > > hardware (different mainboard, different nics) and the problem remains. > > > > We are getting the log for every received packet, doesn't matter if these > > are dhcp-requests, pings or something else. > > You have CONFIG_PREEMPT enabled don't you? > Yes. > This should fix it, it's a bug in Stephen's conversion of the VLAN > code over to use RCU locking. > > # This is a BitKeeper generated diff -Nru style patch. > # > # ChangeSet > # 2004/09/08 21:07:49-07:00 davem@nuts.davemloft.net > # [VLAN]: Fix thinko in RCU locking. > # > # Signed-off-by: David S. Miller > # > # net/8021q/vlan_dev.c > # 2004/09/08 21:07:19-07:00 davem@nuts.davemloft.net +1 -1 > # [VLAN]: Fix thinko in RCU locking. > # > diff -Nru a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c > --- a/net/8021q/vlan_dev.c 2004-09-08 21:08:30 -07:00 > +++ b/net/8021q/vlan_dev.c 2004-09-08 21:08:30 -07:00 > @@ -244,7 +244,7 @@ > /* TODO: Add a more specific counter here. */ > stats->rx_errors++; > } > - rcu_read_lock(); > + rcu_read_unlock(); > return 0; > } Yes, this fixes the problem. Thank you very much, -- Wolfgang Walter Studentenwerk München Anstalt des öffentlichen Rechts EDV Leopoldstraße 15 80802 München http://www.studentenwerk.mhn.de/