netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
	Kernel Netdev Mailing List <netdev@vger.kernel.org>
Subject: Re: [XFRM]: Fix protocol field value for outgoing IPv6 GSO packets
Date: Mon, 31 Jul 2006 06:06:37 +0200	[thread overview]
Message-ID: <44CD81CD.3060503@trash.net> (raw)
In-Reply-To: <20060725001326.GA18972@gondor.apana.org.au>

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

Hi Dave,

Herbert Xu wrote:
> On Tue, Jul 25, 2006 at 02:09:26AM +0200, Patrick McHardy wrote:
> 
>>[XFRM]: Fix protocol field value for outgoing IPv6 GSO packets
>>
>>Signed-off-by: Patrick McHardy <kaber@trash.net>
> 
> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>

I believe you missed this one. Attached again for your convenience.


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 928 bytes --]

[XFRM]: Fix protocol field value for outgoing IPv6 GSO packets

Signed-off-by: Patrick McHardy <kaber@trash.net>

---
commit 8035f60a607630459e4440dbbc5a20f3cfbf97ac
tree f1a7061cfd1f923b3991ee8f449cffce86870a3e
parent 440848a8e33fc1927bab45bd73f6c8e042ea7abd
author Patrick McHardy <kaber@trash.net> Tue, 25 Jul 2006 02:02:00 +0200
committer Patrick McHardy <kaber@trash.net> Tue, 25 Jul 2006 02:02:00 +0200

 net/ipv6/xfrm6_output.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c
index 0eea60e..c8c8b44 100644
--- a/net/ipv6/xfrm6_output.c
+++ b/net/ipv6/xfrm6_output.c
@@ -125,7 +125,7 @@ static int xfrm6_output_finish(struct sk
 	if (!skb_is_gso(skb))
 		return xfrm6_output_finish2(skb);
 
-	skb->protocol = htons(ETH_P_IP);
+	skb->protocol = htons(ETH_P_IPV6);
 	segs = skb_gso_segment(skb, 0);
 	kfree_skb(skb);
 	if (unlikely(IS_ERR(segs)))


  parent reply	other threads:[~2006-07-31  4:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25  0:09 [XFRM]: Fix protocol field value for outgoing IPv6 GSO packets Patrick McHardy
2006-07-25  0:13 ` Herbert Xu
2006-07-26 22:17   ` David Miller
2006-07-31  4:06   ` Patrick McHardy [this message]
2006-07-31  4:08     ` David Miller

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=44CD81CD.3060503@trash.net \
    --to=kaber@trash.net \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --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).