rpms/kernel/devel linux-2.6-net-oops.patch, NONE, 1.1 kernel.spec, 1.143, 1.144

Dave Jones (davej) fedora-extras-commits at redhat.com
Sun Sep 2 05:41:11 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22421

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-net-oops.patch 
Log Message:
* Sun Sep 02 2007 Dave Jones <davej at redhat.com>
- Fix oops in IPv4.


linux-2.6-net-oops.patch:

--- NEW FILE linux-2.6-net-oops.patch ---
>From davej  Sun Sep  2 00:26:18 2007
Return-path: <linux-kernel-owner+davej=40kernelslacker.org-S932819AbXIBEUT at vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
	gelk.kernelslacker.org
X-Spam-Level: 
X-Spam-Status: No, score=-104.2 required=5.0 tests=AWL,BAYES_00,
	RCVD_IN_DNSWL_MED,USER_IN_WHITELIST autolearn=ham version=3.2.3
Envelope-to: davej at kernelslacker.org
Delivery-date: Sun, 02 Sep 2007 05:20:51 +0100
Received: from testure.choralone.org [194.9.77.134]
	by gelk.kernelslacker.org with IMAP (fetchmail-6.3.7)
	for <davej at localhost> (single-drop); Sun, 02 Sep 2007 00:26:18 -0400 (EDT)
Received: from vger.kernel.org ([209.132.176.167])
	by testure.choralone.org with esmtp (Exim 4.67)
	(envelope-from <linux-kernel-owner+davej=40kernelslacker.org-S932819AbXIBEUT at vger.kernel.org>)
	id 1IRgx8-0005Ex-Ra
	for davej at kernelslacker.org; Sun, 02 Sep 2007 05:20:51 +0100
Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
	id S932819AbXIBEUT (ORCPT <rfc822;davej at kernelslacker.org>);
	Sun, 2 Sep 2007 00:20:19 -0400
Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1750977AbXIBEUF
	(ORCPT <rfc822;linux-kernel-outgoing>);
	Sun, 2 Sep 2007 00:20:05 -0400
Received: from rhun.apana.org.au ([64.62.148.172]:1945 "EHLO
	arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org
	with ESMTP id S1750969AbXIBEUD (ORCPT
	<rfc822;linux-kernel at vger.kernel.org>);
	Sun, 2 Sep 2007 00:20:03 -0400
Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail)
	by arnor.apana.org.au with esmtp (Exim 4.50 #1 (Debian))
	id 1IRgwL-0001Kl-Aa; Sun, 02 Sep 2007 14:20:01 +1000
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian))
	id 1IRgwF-0004G0-00; Sun, 02 Sep 2007 12:19:55 +0800
From:	Herbert Xu <herbert at gondor.apana.org.au>
To:	lists at nerdbynature.de (Christian Kujau)
Subject: Re: Oops in 2.6.23-rc5
Cc:	linux-kernel at vger.kernel.org, netdev at vger.kernel.org,
	torvalds at linux-foundation.org, davem at davemloft.net
Organization: Core
In-Reply-To: <alpine.DEB.0.999.0709012236460.6640 at sheep.housecafe.de>
X-Newsgroups: apana.lists.os.linux.kernel,apana.lists.os.linux.netdev
User-Agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.6.17-rc4 (i686))
Message-Id: <E1IRgwF-0004G0-00 at gondolin.me.apana.org.au>
Date:	Sun, 02 Sep 2007 12:19:55 +0800
Sender:	linux-kernel-owner at vger.kernel.org
Precedence: bulk
X-Mailing-List:	linux-kernel at vger.kernel.org
Status: RO
Content-Length: 1586
Lines: 43

Christian Kujau <lists at nerdbynature.de> wrote:
> 
> today I switched from 2.6.22.3 to 2.6.23-rc5 (skipped quite a few -rc 
> versions due to lack of time), and the box keeps panicking under certain 
> circumstances. I suspected disk related problems, because: when the box 
> is up, I usually resume ~10 bittorrent files. When doing this, each
> file (~200MB...1GB) is checked and disk activity is pretty high (20MB/s
> or so), and after 1 minute of doing so the box panicks. Every time.

You want this patch (by davem).

Unfortunately people are travelling so I'm not sure when it'll
get picked up by Linus.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
From: davem at davemloft.net (David Miller)

> ip is at tcp_rto_min+0x20/0x40

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 1ee7212..bbad2cd 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -560,7 +560,7 @@ static u32 tcp_rto_min(struct sock *sk)
 	struct dst_entry *dst = __sk_dst_get(sk);
 	u32 rto_min = TCP_RTO_MIN;
 
-	if (dst_metric_locked(dst, RTAX_RTO_MIN))
+	if (dst && dst_metric_locked(dst, RTAX_RTO_MIN))
 		rto_min = dst->metrics[RTAX_RTO_MIN-1];
 	return rto_min;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- kernel.spec	1 Sep 2007 16:34:06 -0000	1.143
+++ kernel.spec	2 Sep 2007 05:40:37 -0000	1.144
@@ -668,6 +668,7 @@
 Patch1506: linux-2.6-xfs-fix-filestreams-free-func-cast.patch
 Patch1508: linux-2.6-firewire-multi-lun.patch
 Patch1515: linux-2.6-lirc.patch
+Patch1600: linux-2.6-net-oops.patch
 
 %endif
 
@@ -1193,6 +1194,10 @@
 # http://www.lirc.org/
 ApplyPatch linux-2.6-lirc.patch
 
+# Fix TCP oops.
+ApplyPatch linux-2.6-net-oops.patch
+
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -1784,6 +1789,9 @@
 
 
 %changelog
+* Sun Sep 02 2007 Dave Jones <davej at redhat.com>
+- Fix oops in IPv4.
+
 * Sat Sep 01 2007 Dave Jones <davej at redhat.com>
 - Terminate list in ata-piix
 




More information about the fedora-extras-commits mailing list