Re: 2.6.9 failed assertion in tcp_timer.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Oester <kernel@linuxace.com> wrote:
> Just upgraded 3 heavily used squid boxes to 2.6.9 today from
> 2.6.8.1, and all started panicing with the same error (usually
> within an hour of uptime):
> 
> KERNEL: assertion (!skb_queue_empty(&sk->sk_write_queue)) \
>        failed at net/ipv4/tcp_timer.c (322)

Please aplly this patch and tell us what it says just before the panic.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
===== net/ipv4/tcp_timer.c 1.24 vs edited =====
--- 1.24/net/ipv4/tcp_timer.c	2004-09-08 02:18:04 +10:00
+++ edited/net/ipv4/tcp_timer.c	2004-10-09 16:51:20 +10:00
@@ -319,6 +319,9 @@
 	if (!tcp_get_pcount(&tp->packets_out))
 		goto out;
 
+	if (skb_queue_empty(&sk->sk_write_queue))
+		printk(KERN_DEBUG "TCP: empty write queue packets_out = %d",
+		       tcp_get_pcount(&tp->packets_out));
 	BUG_TRAP(!skb_queue_empty(&sk->sk_write_queue));
 
 	if (!tp->snd_wnd && !sock_flag(sk, SOCK_DEAD) &&
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux