]> Pileus Git - ~andy/linux/blobdiff - crypto/pcrypt.c
Merge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / crypto / pcrypt.c
index f8c920cafe639c8451349e15b3f1e22e19da80e4..309d345ead9582896bde8c5f5c170bf5d0315f66 100644 (file)
@@ -78,7 +78,7 @@ static int pcrypt_do_parallel(struct padata_priv *padata, unsigned int *cb_cpu,
        cpu = *cb_cpu;
 
        rcu_read_lock_bh();
-       cpumask = rcu_dereference(pcrypt->cb_cpumask);
+       cpumask = rcu_dereference_bh(pcrypt->cb_cpumask);
        if (cpumask_test_cpu(cpu, cpumask->mask))
                        goto out;