From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Bizon Subject: Re: [PATCH v2] netfilter: fix bad checksum on IPv6 when NAT is performed Date: Thu, 08 Oct 2015 23:26:34 +0200 Message-ID: <1444339594.14655.392.camel@sakura.staff.proxad.net> References: <1444141425.14655.341.camel@sakura.staff.proxad.net> <1444335587.14655.387.camel@sakura.staff.proxad.net> <1444335972.14655.388.camel@sakura.staff.proxad.net> Reply-To: mbizon@freebox.fr Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev , davem , kaber , pablo@netfilter.org, netfilter-devel To: Tom Herbert Return-path: In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org On Thu, 2015-10-08 at 14:09 -0700, Tom Herbert wrote: > I think inet_proto_csum_replace16 should be called here. inet_proto_csum_replace16() wants a non NULL checksum pointer to update, and there is no such thing here. I could pass a dummy value, but inet_proto_csum_replace16() will do twice more work for nothing or I could modify inet_proto_csum_replace16() to allow a NULL sum argument. -- Maxime