commit | 15333038d577b0c0255c0f14a38d9e6895937453 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Mon May 23 12:36:25 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 23 12:36:25 2005 -0700 |
tree | c48106158bce4c7af328c486b7f33ad2133459ee | |
parent | 314324121f9b94b2ca657a494cf2b9cb0e4a28cc [diff] |
[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 <davem@davemloft.net>