[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160428010117.GA5262@gondor.apana.org.au>
Date: Thu, 28 Apr 2016 09:01:17 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Cc: tadeusz.struk@...el.com, linux-kernel@...r.kernel.org,
smueller@...onox.de, mmarek@...e.com, arnd@...db.de,
andrew.zaborowski@...el.com
Subject: Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in
mpi_write_to_sgl
On Wed, Apr 27, 2016 at 01:43:56PM -0400, Sowmini Varadhan wrote:
>
> Commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") added
> mpi_write_to_sgl() which generates traps due to unaligned
> access on some platforms like sparc. Fix this by using
> the get_unaligned* and put_unaligned* functions.
>
> Fixes: 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers")
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Please cc linux-crypto.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists