Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp36550imm; Fri, 25 May 2018 13:44:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrcwaq3pFbK1W0iklPbzm6D92N+IPd28f1wZrXcGIMXiZZ1O2mXFBm7TjsfnfAmzEr/Jest X-Received: by 2002:a65:468e:: with SMTP id h14-v6mr3146424pgr.50.1527281048522; Fri, 25 May 2018 13:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527281048; cv=none; d=google.com; s=arc-20160816; b=T8BYBpcYcudbvblJ4oVKHlcfTgEnIkcoDcbft4J8kvtjsvRbUfFmrghVa2RzUujW26 2Wzp8/FemKQOxu52vDtJyQXZffogcsZDka/D2yWuSoYGpJpoV4KWopXesv65HJ4bbkNp I+4OACw5oigghIMt/8soCFAyUEHvZcDI4V6+3lputanvIECiuYWgM7jndoZ5ABTx6V0M VhA+Z+DhKNAu/vT2FR4/eVoSwxQ/dKBjVdpG5B7ExP4Ujg12GtLyD+alvNKiupW9foXF GqwK+hS3jDt9kQ4RSdptNsyoZmo00cV0OzGayGKjDpg7RfgaQxR2GbG3psj7e1cX2gG9 o2Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=w4v0w3uzAcXRBVNWf7EBrG9CbZsa/sZek4zcVUrzo28=; b=mkD4pcz1cTIDBBK8p/3V6tNTRUZIn2yuMTAYGRoqyw2nt+Tv5k+DPPwLpvnA/vyPS1 uVzLK68s8sT991YR1kC/RNFo0DRNSWe9V2uadWpFHv1I5OxY0DbIEvPL9MKX4d2mUz5h l1sjb0iVBNFNXWdYlKHeo3SmVap5x4880HwRiV6AtmfJYxntkfR66Ao3ENCnPuopIKfT vzXECtd/kE0Fza/Az2rWaATnNYHeW0jbUMyOAcsyNUtMTnA1iynyFcPtV+7l3y2DxgbA NcxfWGWK6dC21MRhFG21+7+ZF9V1K3T81oh1LuA5h/kT45Prz+q91rO7YFi3vhosUVUW OGIQ== 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 c6-v6si24125563pfi.102.2018.05.25.13.43.49; Fri, 25 May 2018 13:44:08 -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 S968372AbeEYUnk (ORCPT + 99 others); Fri, 25 May 2018 16:43:40 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:37612 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968277AbeEYUnj (ORCPT ); Fri, 25 May 2018 16:43:39 -0400 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id DCD7413C3FD49; Fri, 25 May 2018 13:43:37 -0700 (PDT) Date: Fri, 25 May 2018 16:43:37 -0400 (EDT) Message-Id: <20180525.164337.1433478215018599363.davem@davemloft.net> To: jmaxwell37@gmail.com Cc: dsahern@gmail.com, mschiffer@universe-factory.net, zhangshengju@cmss.chinamobile.com, ktkhai@virtuozzo.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jmaxwell@redhat.com Subject: Re: [PATCH net-next] ifb: fix packets checksum From: David Miller In-Reply-To: <20180524213829.15208-1-jmaxwell37@gmail.com> References: <20180524213829.15208-1-jmaxwell37@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 25 May 2018 13:43:38 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Maxwell Date: Fri, 25 May 2018 07:38:29 +1000 > Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path. > Otherwise we get splats when tc mirred is used to redirect packets to ifb. > > Before fix: > > nic: hw csum failure > > Signed-off-by: Jon Maxwell This definitely seems correct, but I am really surprised a bug like this has lasted as long as it has. So I'll let this sit for another day or two for review.