Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389710

Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl
Date 2016-04-28 03:10 +0200
Message-ID <rsICS-2JI-7@gated-at.bofh.it> (permalink)
References <rsBL4-59n-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@oracle.com>

Please cc linux-crypto.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2016-04-27 19:50 +0200
  Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-28 03:10 +0200
    Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2016-04-28 03:10 +0200
      Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Herbert Xu <herbert@gondor.apana.org.au> - 2016-05-03 10:20 +0200
        Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2016-05-03 12:30 +0200
          Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Herbert Xu <herbert@gondor.apana.org.au> - 2016-05-04 04:40 +0200
            Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in  mpi_write_to_sgl Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2016-05-04 13:10 +0200

csiph-web