netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Samad <alex@samad.com.au>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David Miller <davem@davemloft.net>,
	linux-net@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: kernel oops when system under network stress
Date: Fri, 24 Oct 2008 13:09:22 +1100	[thread overview]
Message-ID: <20081024020922.GA21547@samad.com.au> (raw)
In-Reply-To: <20081016091009.GA5794@gondor.apana.org.au>

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

Bugger, didn't see this replay, will get on it 

alex

On Thu, Oct 16, 2008 at 05:10:09PM +0800, Herbert Xu wrote:
> On Thu, Oct 16, 2008 at 06:09:34PM +1100, Alex Samad wrote:
> >
> > just about, within a 5-10 min window
> 
> Great.  Please apply this patch and let me know what it prints
> out (if anything).
> 
> 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
> --
> diff --git a/net/ipv6/inet6_connection_sock.c b/net/ipv6/inet6_connection_sock.c
> index 16d43f2..72af09d 100644
> --- a/net/ipv6/inet6_connection_sock.c
> +++ b/net/ipv6/inet6_connection_sock.c
> @@ -233,6 +233,13 @@ int inet6_csk_xmit(struct sk_buff *skb, int ipfragok)
>  	/* Restore final destination back after routing done */
>  	ipv6_addr_copy(&fl.fl6_dst, &np->daddr);
>  
> +	if (WARN_ON(skb_is_gso(skb) && skb->ip_summed != CHECKSUM_PARTIAL)) {
> +		printk("%s: %d %d %d 0x%x 0x%x 0x%lx", skb->dst->dev->name,
> +		       skb->ip_summed, skb_shinfo(skb)->gso_size, skb->len,
> +		       skb_shinfo(skb)->gso_type, sk->sk_route_caps,
> +		       skb->dst->dev->features);
> +	}
> +
>  	return ip6_xmit(sk, skb, &fl, np->opt, 0);
>  }
>  
> 

-- 
"The Legislature makes the laws, and the Executive interprets the laws."

	- George W. Bush

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-10-24  2:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081016030416.GA5551@samad.com.au>
2008-10-16  4:55 ` kernel oops when system under network stress David Miller
2008-10-16  5:08   ` Alex Samad
2008-10-16  6:41     ` Herbert Xu
2008-10-16  7:09       ` Alex Samad
2008-10-16  7:15         ` Alex Samad
2008-10-16  9:10         ` Herbert Xu
2008-10-24  2:09           ` Alex Samad [this message]
2008-10-16  5:41   ` Herbert Xu
2008-10-16  5:48     ` Alex Samad
2008-10-16  7:07       ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081024020922.GA21547@samad.com.au \
    --to=alex@samad.com.au \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).