Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5548050imm; Tue, 19 Jun 2018 12:12:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLEU6eqAnjNO12tWxEnZCnCcMuFmIZF7wcE5sPpmlZLdZ0U0jB2bkNrDdEjux9HHhv9fgoE X-Received: by 2002:a63:ad08:: with SMTP id g8-v6mr15582310pgf.74.1529435522106; Tue, 19 Jun 2018 12:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529435522; cv=none; d=google.com; s=arc-20160816; b=ToehCdqU3Sc53nKzreJLpAckodb08s2qfZMZMzXaHM/F7JkUB86oX7feUpdKV4yCFR FNH57LHZ0uSBFCQ/9dyLUn6jIjPcj/fzfS6CX3D8+07Yl5Hv5Nie4pF5Q1ma2pbHAO51 nxxo+ISSHw0WJrh8EAVm3EmO1F83hqCzMfG38RdlRq1OsoqFdxL47L7tiss7BD94+BDi V2Psuc8X2ZIk2v7ZWnDDBdCG35kVKKOmTZrCgf5hVzsdS+uuH4qeOEUlkLBQ9yT0jei2 PVY08N/9hX6Gm6mzXE+XqBuP+Hs6kpVMZa5gr/z1UfiHDQ0paLRnv9X2wTogq6Rg7L+S wgqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=KCP/A+QdF2KgFoNIC26el9e9BO73hLgBy6jR0+xqn4M=; b=b/psAtg6Ja8sgO5zyagjc5zdFF1bwvDFODWjS7g245b/3qtX8G7Nin1em5wDMTplMN 55wH9ZLt63qjLg6HamlkDtBChFwtPtV6q8oBwwt80/qCtO2QOWYsvJnj5sSRAeni11Gb p9l9+dGXtf5ihzENFxQN3uX4b21zgLsJPFmJ1A0IT5zCHgtfF0KvJuARgBE8XuWe87Ji uDh/UEvm18S4lxJebcISLLIqbFrJrJycWe4FC1CctCwP92TaN7wsWe/FiSIHpRrY5FpM xlZ5Hzn06Os7Ogw6Xq400Otz8x1yX7pfAfY6Z51GO+B02qA4jo9Ir13pdFg3pAdSOLY/ Ok2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si364695pla.194.2018.06.19.12.11.37; Tue, 19 Jun 2018 12:12:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030494AbeFSTK5 (ORCPT + 99 others); Tue, 19 Jun 2018 15:10:57 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:37426 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030331AbeFSTKz (ORCPT ); Tue, 19 Jun 2018 15:10:55 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 419HcD5jsGz1qvBb; Tue, 19 Jun 2018 21:10:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 419HcD4Zl2z1qvTY; Tue, 19 Jun 2018 21:10:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id aYMMW_E7wgqX; Tue, 19 Jun 2018 21:10:51 +0200 (CEST) X-Auth-Info: Tnt5FqmKEdTwAYF/8UsJfqlPzPY6cc8YL4MJVj07OU7wgBw6WST/EiDi0N4IXy54 Received: from igel.home (ppp-188-174-148-81.dynamic.mnet-online.de [188.174.148.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 19 Jun 2018 21:10:51 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id D64782C101A; Tue, 19 Jun 2018 21:10:50 +0200 (CEST) From: Andreas Schwab To: Eric Dumazet Cc: Mathieu Malaterre , "David S. Miller" , Eric Dumazet , LKML , Christophe LEROY , Meelis Roos , netdev@vger.kernel.org, linuxppc-dev Subject: Re: [PATCH] Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends" References: <20180615185645.8921-1-malat@debian.org> <9d88677a-f2be-2089-79df-15df4e9a5dd6@gmail.com> <87o9g8geu0.fsf@igel.home> <816ef746-5278-1d51-1d9d-55593e377681@gmail.com> <21523399-92ee-f8da-1a3e-0561f62850b7@gmail.com> X-Yow: My Aunt MAUREEN was a military advisor to IKE & TINA TURNER!! Date: Tue, 19 Jun 2018 21:10:50 +0200 In-Reply-To: (Eric Dumazet's message of "Mon, 18 Jun 2018 16:36:15 -0700") Message-ID: <87po0mvbgl.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jun 18 2018, Eric Dumazet wrote: > DUMP_PREFIX_ADDRESS might give us more information (say alignment problem, or crossing page boundaries) DUMP_PREFIX_ADDRESS is useless for that purpose. Here are some samples of broken csums: [ 853.849225] sungem: sungem wrong csum : 9886/07be, len 94 bytes, c0000001fa187e02 [ 853.849232] raw data: 00000000: 00 0d 93 43 81 62 18 d6 c7 51 b8 1c 08 00 45 10 ...C.b...Q....E. [ 853.849235] raw data: 00000010: 00 4c cb a0 40 00 40 11 d9 97 c0 a8 0a 01 c0 a8 .L..@.@......... [ 853.849237] raw data: 00000020: 0a 07 00 7b 00 7b 00 38 69 e1 1c 03 0c f7 00 00 ...{.{.8i....... [ 853.849240] raw data: 00000030: 08 f0 00 00 15 f0 c0 35 67 67 de d3 ca c9 d9 5b .......5gg.....[ [ 853.849242] raw data: 00000040: 1f ff de d3 d2 86 8f 67 fa f2 de d3 d2 86 8f 38 .......g.......8 [ 853.849244] raw data: 00000050: 2f ff de d3 d2 86 8f 3b ff ff d1 93 bc 50 /......;.....P [ 857.883052] sungem: sungem wrong csum : dbb4/c48f, len 94 bytes, c0000001fa185882 [ 857.883058] raw data: 00000000: 00 0d 93 43 81 62 18 d6 c7 51 b8 1c 08 00 45 00 ...C.b...Q....E. [ 857.883070] raw data: 00000010: 00 4c a1 97 40 00 3a 11 ce ed d9 5b 2c 11 c0 a8 .L..@.:....[,... [ 857.883080] raw data: 00000020: 0a 07 00 7b 00 7b 00 38 14 4b 24 02 06 ea 00 00 ...{.{.8.K$..... [ 857.883085] raw data: 00000030: 00 0b 00 00 02 99 c0 a8 64 09 de d3 d2 5a 36 e4 ........d....Z6. [ 857.883090] raw data: 00000040: bc f5 de d3 d2 8a 8f 2c 17 44 de d3 d2 8a 93 8b .......,.D...... [ 857.883094] raw data: 00000050: d7 b7 de d3 d2 8a 93 97 69 6e 39 7b d2 5a ........in9{.Z [ 858.124689] sungem: sungem wrong csum : 1f4f/02d0, len 118 bytes, c0000001fa185602 [ 858.124700] raw data: 00000000: 00 0d 93 43 81 62 d4 3d 7e 4c 48 b7 86 dd 61 01 ...C.b.=~LH...a. [ 858.124705] raw data: 00000010: 1e b1 00 3c 06 40 20 01 0a 62 17 11 88 01 00 00 ...<.@ ..b...... [ 858.124709] raw data: 00000020: 00 00 00 00 0a 38 20 01 0a 62 17 11 88 01 00 00 .....8 ..b...... [ 858.124714] raw data: 00000030: 00 00 00 00 00 07 94 b4 00 16 86 f5 29 e8 36 cb ............).6. [ 858.124718] raw data: 00000040: 50 49 80 18 05 93 9a 53 00 00 01 01 08 0a 58 b2 PI.....S......X. [ 858.124723] raw data: 00000050: de 54 61 5f 2f 3c 00 00 00 10 cc 08 55 f7 da 21 .Ta_/<......U..! [ 858.124727] raw data: 00000060: f4 60 0a 6b 3c aa b9 b3 7e 61 10 b8 c2 be 9a 0b .`.k<...~a...... [ 858.124731] raw data: 00000070: c7 e9 5b 97 1b ac ..[... [ 858.126522] sungem: sungem wrong csum : 0836/19e9, len 90 bytes, c0000001fa185382 [ 858.126530] raw data: 00000000: 00 0d 93 43 81 62 d4 3d 7e 4c 48 b7 86 dd 61 01 ...C.b.=~LH...a. [ 858.126532] raw data: 00000010: 1e b1 00 20 06 40 20 01 0a 62 17 11 88 01 00 00 ... .@ ..b...... [ 858.126535] raw data: 00000020: 00 00 00 00 0a 38 20 01 0a 62 17 11 88 01 00 00 .....8 ..b...... [ 858.126537] raw data: 00000030: 00 00 00 00 00 07 94 b4 00 16 86 f5 2a 04 36 cb ............*.6. [ 858.126540] raw data: 00000040: 50 65 80 10 05 93 3e 56 00 00 01 01 08 0a 58 b2 Pe....>V......X. [ 858.126542] raw data: 00000050: de 56 61 5f 30 4d 1d 58 42 d2 .Va_0M.XB. [ 858.131559] sungem: sungem wrong csum : 5891/c98d, len 90 bytes, c0000001fa185102 [ 858.131567] raw data: 00000000: 00 0d 93 43 81 62 d4 3d 7e 4c 48 b7 86 dd 61 01 ...C.b.=~LH...a. [ 858.131570] raw data: 00000010: 1e b1 00 20 06 40 20 01 0a 62 17 11 88 01 00 00 ... .@ ..b...... [ 858.131572] raw data: 00000020: 00 00 00 00 0a 38 20 01 0a 62 17 11 88 01 00 00 .....8 ..b...... [ 858.131574] raw data: 00000030: 00 00 00 00 00 07 94 b4 00 16 86 f5 2a 04 36 cb ............*.6. [ 858.131577] raw data: 00000040: 50 a1 80 10 05 93 3e 10 00 00 01 01 08 0a 58 b2 P.....>.......X. [ 858.131579] raw data: 00000050: de 5b 61 5f 30 52 3f ea 70 9b .[a_0R?.p. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."