Re: lib/mpi: BUG: sleeping function called from invalid context on next-20160726

2016-07-27 Thread Herbert Xu
On Wed, Jul 27, 2016 at 11:05:05PM +0200, Nicolai Stange wrote: > > with linux-next-20160726, I get this: > > BUG: sleeping function called from invalid context at > /mnt/scratch/nic/linux-next/mm/slab.h:388 Does this patch help? > I would have sent a patch, but there is another point which

Re: [PATCH] crypto: marvell - Update cache with input sg only when it is unmapped

2016-07-27 Thread Herbert Xu
Romain Perier wrote: > So far, the cache of the ahash requests was updated from the 'complete' > operation. This complete operation is called from mv_cesa_tdma_process > before the cleanup operation, which means that the content of req->src > can be read and

Re: [PATCH] crypto: marvell - Fix memory leaks in TDMA chain for cipher requests

2016-07-27 Thread Herbert Xu
Romain Perier wrote: > So far in mv_cesa_ablkcipher_dma_req_init, if an error is thrown while > the tdma chain is built there is a memory leak. This issue exists > because the chain is assigned later at the end of the function, so the > cleanup function is called

Re: [PATCH] crypto: marvell - Don't chain at DMA level when backlog is disabled

2016-07-27 Thread Herbert Xu
Romain Perier wrote: > The flag CRYPTO_TFM_REQ_MAY_BACKLOG is optional and can be set from the > user to put requests into the backlog queue when the main cryptographic > queue is full. Before calling mv_cesa_tdma_chain we must check the value > of the return

Loan Offer

2016-07-27 Thread Quick Loans
Instant cash Loan with same day payout on all kinds of Loan are available at Quick Financial Home were loan is offered at 2% per annul. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [GIT PULL] /dev/random driver changes for 4.8

2016-07-27 Thread Linus Torvalds
On Wed, Jul 27, 2016 at 6:12 AM, Theodore Ts'o wrote: > > Are you planning on pulling the random tree this cycle? I'm not sure > if you wanted to let it soak for a few days in linux-next, or whether > you want to wait another full release cycle It's next in line in my queue, so

lib/mpi: BUG: sleeping function called from invalid context on next-20160726

2016-07-27 Thread Nicolai Stange
Hi, with linux-next-20160726, I get this: BUG: sleeping function called from invalid context at /mnt/scratch/nic/linux-next/mm/slab.h:388 in_atomic(): 1, irqs_disabled(): 0, pid: 369, name: systemd-udevd no locks held by systemd-udevd/369. CPU: 2 PID: 369 Comm: systemd-udevd Not tainted

Re: [GIT PULL] /dev/random driver changes for 4.8

2016-07-27 Thread Theodore Ts'o
On Mon, Jul 25, 2016 at 02:44:24AM -0400, Theodore Ts'o wrote: > The following changes since commit 1a695a905c18548062509178b98bc91e67510864: > > Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) > > are available in the git repository at: > >

Re: [PATCH] DH support: add KDF handling support

2016-07-27 Thread Stephan Mueller
Am Mittwoch, 27. Juli 2016, 08:55:31 CEST schrieb David Howells: Hi David, > Mat Martineau wrote: > > > Though, shall I stuff the wrapper code back into the existing dh_compute > > > functions or can I leave them as separate functions? > > > > I'm not sure.

Re: [PATCH] DH support: add KDF handling support

2016-07-27 Thread David Howells
Mat Martineau wrote: > > Though, shall I stuff the wrapper code back into the existing dh_compute > > functions or can I leave them as separate functions? > > I'm not sure. In the existing code there's one keyctl wrapper per keyctl > command. A combined