From: Herbert Xu Subject: Re: 2.6.9-rc1+bk: assertion tcp_get_pcount failed at net/ipv4/tcp_input.c Date: Fri, 10 Sep 2004 13:30:55 +1000 Sender: netdev-bounce@oss.sgi.com Message-ID: <20040910033055.GA26790@gondor.apana.org.au> References: <20040909111233.GA3987@steel.home> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Cc: linux-kernel , netdev@oss.sgi.com Return-path: To: Alex Riesen , "David S. Miller" Content-Disposition: inline In-Reply-To: <20040909111233.GA3987@steel.home> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 09, 2004 at 11:12:33AM +0000, Alex Riesen wrote: > The box froze after being left for some time (some 10 hours) unattended. > The only thing in I could find in logs was: > > Sep 8 22:30:18 steel kernel: KERNEL: assertion ((int)tcp_get_pcount(&tp->lost_out) >= 0) failed at net/ipv4/tcp_input.c (2422) > Sep 8 22:30:18 steel kernel: Leak l=4294967295 4 Looks like the factor isn't set early enough. Can you please check that you had the changeset titled [TCP]: Make sure SKB tso factor is setup early enough. from davem? If you did, then please apply the following patch and tell us what the resulting messages. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p ===== include/net/tcp.h 1.87 vs edited ===== --- 1.87/include/net/tcp.h 2004-09-10 01:51:02 +10:00 +++ edited/include/net/tcp.h 2004-09-10 13:24:25 +10:00 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -1195,6 +1196,7 @@ */ static inline int tcp_skb_pcount(struct sk_buff *skb) { + BUG_TRAP(TCP_SKB_CB(skb)->tso_factor); return TCP_SKB_CB(skb)->tso_factor; } --UlVJffcvxoiEqYs2--