From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938735AbcHJTt1 (ORCPT ); Wed, 10 Aug 2016 15:49:27 -0400 Received: from ozlabs.org ([103.22.144.67]:59076 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935567AbcHJSp1 (ORCPT ); Wed, 10 Aug 2016 14:45:27 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 1bc8b816cb8058c31f61fe78442f10a43209e582 In-Reply-To: <20160802080705.69A9F1A2394@localhost.localdomain> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Scott Wood From: Michael Ellerman Cc: antoine.blangy@c-s.fr, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [v2] powerpc/32: fix csum_partial_copy_generic() Message-Id: <3s8W9k03Pwz9t1m@ozlabs.org> Date: Wed, 10 Aug 2016 22:46:33 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2016-02-08 at 08:07:05 UTC, Christophe Leroy wrote: > commit 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() > based on copy_tofrom_user()") introduced a bug when destination > address is odd and initial csum is not null > > In that (rare) case the initial csum value has to be rotated one byte > as well as the resulting value is > > This patch also fixes related comments > > Fixes: 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()") > Signed-off-by: Christophe Leroy Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/1bc8b816cb8058c31f61fe7844 cheers