Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3818164ybi; Mon, 29 Jul 2019 13:13:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiVUAMPTQjE35ybROMJslFcgsZ4Eeu4UlRH70NjlDfDWI2KOwtQAH2S7YEkfBCd8/iC5G8 X-Received: by 2002:a65:47c1:: with SMTP id f1mr104214277pgs.169.1564431196646; Mon, 29 Jul 2019 13:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564431196; cv=none; d=google.com; s=arc-20160816; b=qkZ4le5rOgbrLDHOegLKlIc2dcKClc/HGehBaIMANLufpCfZRcqGWZOxabDHHpkq1S DU/28fv11aNoRe/Ifeh7VoXzfx/WcgjPFrz9Im27269koqZMScz9O60+fwCi5eqtO4JY /BJ8zoKdOu8Hz34fRmrOgYV71T+Pao5hxXOMzTgWXtJiPORKt8BAbs/lFHLRBH44qOeB TW0vAH4yv8t+lGhdUNPPATHIForHXGmj+H6aml4u2DWIKA4ZGCKKcofHDltiYMPYQOYD kSNC5Q9/YLdXKWJpPt2mCGpBPRVmGc+vgGSu+MYQgg4kxtuS4FJ2+YWOHgCo+9v1Sk2g 6NHQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xvpP4P3R0kWx3L4oFm0XpjEUJBpo+ja4bR1iq5oAmV4=; b=E/dqGO5JBUonB2by9CODpc2FbmlZ3o5s7M7LCWgTnTJtQW3CT8Yxs6MjHQ1EKBKQNo 2vxhyDOC2VSRaFXHPvGrLKGHpBZ1+kV/LC27fjSbUq5g5w3c3wLjt4BQQ2+FODMTFTpR vVdjmqDAw971hj+C0VJv6zseDpPrLY0no2eCtyvGJvKKi8Iii5pBS5xKB7DWrprP5ddO akprt8niSC3yeXehPWzFx9U8lveJUS1x9E7d/axVPijc6NmCnacfk/AJFMywLVMQavFO eN8oO4nTWpd0b6WHQ142e7dbsUK2XTRd+AzeKvO4qVF8LvqSdyT/zMiGJwLchWVFARxP urNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g5figC83; 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 q24si24752474pls.7.2019.07.29.13.13.01; Mon, 29 Jul 2019 13:13:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=g5figC83; 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 S2387793AbfG2Tdk (ORCPT + 99 others); Mon, 29 Jul 2019 15:33:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:47764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730281AbfG2Tdd (ORCPT ); Mon, 29 Jul 2019 15:33:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6446E2171F; Mon, 29 Jul 2019 19:33:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428812; bh=oASsB072sO8Vktt5avwqFjlABXb9tIqM172ZMFlph3I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g5figC83G0Yqr2PE8oGtydGXS9uEm646ihK7UT/AnAbUQGCM22MJQgVRecaHB5vkr XrvYrHizvXZ5+Smof4p7hgl/nniD4ILDaGdSyCQ2tyCJsaobsTbIvru3QE4ssTYuXA /CZNkKMSKWQIfPYknGGxADOqgXXHvk/0/FtbelBU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andreas Steinmetz , "David S. Miller" Subject: [PATCH 4.14 195/293] macsec: fix checksumming after decryption Date: Mon, 29 Jul 2019 21:21:26 +0200 Message-Id: <20190729190839.404725751@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andreas Steinmetz [ Upstream commit 7d8b16b9facb0dd81d1469808dd9a575fa1d525a ] Fix checksumming after decryption. Signed-off-by: Andreas Steinmetz Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/macsec.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/macsec.c +++ b/drivers/net/macsec.c @@ -865,6 +865,7 @@ static void macsec_reset_skb(struct sk_b static void macsec_finalize_skb(struct sk_buff *skb, u8 icv_len, u8 hdr_len) { + skb->ip_summed = CHECKSUM_NONE; memmove(skb->data + hdr_len, skb->data, 2 * ETH_ALEN); skb_pull(skb, hdr_len); pskb_trim_unique(skb, skb->len - icv_len);