From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Latest net-next kernel 4.19.0+ Date: Tue, 30 Oct 2018 00:29:13 -0700 Message-ID: <68f25a28-b79e-d3ae-6eef-50c354ad63ae@gmail.com> References: <59d5657c-ea0a-7b64-d5ff-5b55eb4fcccf@itcare.pl> <1e954663-ed05-4f33-4384-db880844f9d1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Cong Wang , =?UTF-8?Q?Pawe=c5=82_Staszewski?= , Linux Kernel Network Developers To: Dimitris Michailidis Return-path: Received: from mail-pf1-f180.google.com ([209.85.210.180]:33912 "EHLO mail-pf1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3QVe (ORCPT ); Tue, 30 Oct 2018 12:21:34 -0400 Received: by mail-pf1-f180.google.com with SMTP id f78-v6so5372126pfe.1 for ; Tue, 30 Oct 2018 00:29:15 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 10/29/2018 11:09 PM, Dimitris Michailidis wrote: > > Indeed this is a bug. I would expect it to produce frequent errors > though as many odd-length > packets would trigger it. Do you have RXFCS? Regardless, how > frequently do you see the problem? > Old kernels (before 88078d98d1bb) were simply resetting ip_summed to CHECKSUM_NONE And before your fix (commit d55bef5059dd057bd), mlx5 bug was canceling the bug you fixed. So we now need to also fix mlx5. And of course use skb_header_pointer() in mlx5e_get_fcs() as I mentioned earlier, plus __get_unaligned_cpu32() as you hinted.