netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxime Bizon <mbizon@freebox.fr>
To: netdev <netdev@vger.kernel.org>
Cc: davem <davem@davemloft.net>, kaber <kaber@trash.net>,
	pablo@netfilter.org,
	netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH] netfilter: fix bad checksum on IPv6 when NAT is performed
Date: Thu, 08 Oct 2015 22:19:47 +0200	[thread overview]
Message-ID: <1444335587.14655.387.camel@sakura.staff.proxad.net> (raw)
In-Reply-To: <1444141425.14655.341.camel@sakura.staff.proxad.net>


On Tue, 2015-10-06 at 16:23 +0200, Maxime Bizon wrote:

> +	if (maniptype == NF_NAT_MANIP_SRC) {
> +		from = ipv6h->saddr.s6_addr32;
> +		to = target->src.u3.in6.s6_addr32;
> +	} else {
> +		from = ipv6h->daddr.s6_addr32;
> +		to = target->src.u3.in6.s6_addr32;
> +	}

stupid copy & paste error here, will send v2

-- 
Maxime



  reply	other threads:[~2015-10-08 20:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 14:23 [PATCH] netfilter: fix bad checksum on IPv6 when NAT is performed Maxime Bizon
2015-10-08 20:19 ` Maxime Bizon [this message]
2015-10-08 20:26   ` [PATCH v2] " Maxime Bizon
2015-10-08 21:09     ` Tom Herbert
2015-10-08 21:26       ` Maxime Bizon
2015-10-08 22:11         ` Tom Herbert

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=1444335587.14655.387.camel@sakura.staff.proxad.net \
    --to=mbizon@freebox.fr \
    --cc=davem@davemloft.net \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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).