From: Herbert Xu Date: Mon, 23 May 2005 19:36:25 +0000 (-0700) Subject: [CRYPTO]: Only reschedule if !in_atomic() X-Git-Tag: v2.6.12-rc5~8^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15333038d577b0c0255c0f14a38d9e6895937453;p=pandora-kernel.git [CRYPTO]: Only reschedule if !in_atomic() The netlink gfp_any() problem made me double-check the uses of in_softirq() in crypto/*. It seems to me that we should be checking in_atomic() instead of in_softirq() in crypto_yield. Otherwise people calling the crypto ops with spin locks held or preemption disabled will get burnt, right? Signed-off-by: David S. Miller --- Reading git-diff-tree failed