From owner-freebsd-net@freebsd.org Tue Sep 26 09:46:03 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C3BEE0512E for ; Tue, 26 Sep 2017 09:46:03 +0000 (UTC) (envelope-from jk@kornberger.name) Received: from digineo.de (mail.digineo.de [185.55.116.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D90CE83448 for ; Tue, 26 Sep 2017 09:46:01 +0000 (UTC) (envelope-from jk@kornberger.name) Received: from [IPv6:2003:73:2e1b:ef00:49fd:e2be:8379:ad92] (p200300732E1BEF0049FDE2BE8379AD92.dip0.t-ipconnect.de [IPv6:2003:73:2e1b:ef00:49fd:e2be:8379:ad92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jk) by digineo.de (Postfix) with ESMTPSA id CFF85602E8; Tue, 26 Sep 2017 11:45:57 +0200 (CEST) Subject: Re: igb(4) txcsum6 broken in few cases To: Sepherosa Ziehau Cc: "freebsd-net@freebsd.org" References: <4cdc0f02-0ec4-4f1a-f14a-d4eeef78cbe0@kornberger.name> From: Julian Kornberger Message-ID: <1df7456b-06c6-935f-c399-4bbb9d33280d@kornberger.name> Date: Tue, 26 Sep 2017 11:45:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 09:46:03 -0000 Hi Sepherosa, I attached a dump. I can provide bigger dumps, but not in public, because they might contain sensitive data. The outgoing UDP packets are created by my fastd kernel module [1] that is a simple UDP tunneling protocol that encapsulates IP packets using M_PREPEND. Some code is similar to if_vxlan.c. ICMPv4 echo requests inside of the tunnel lead to invalid checksums in > 95% of the cases. But also other packets types are affected. [1] https://github.com/digineo/fastd/blob/master/kmod/fastd.c Regards, Julian On 26.09.2017 07:10, Sepherosa Ziehau wrote: > It will be more than helpful, if you can provides tcpdumps.