Mathias Krause
3110e4006c
crypto: pcrypt - Fix wrong usage of rcu_dereference()
...
A kernel with enabled lockdep complains about the wrong usage of
rcu_dereference() under a rcu_read_lock_bh() protected region.
===============================
[ INFO: suspicious RCU usage. ]
3.13.0-rc1+ #126 Not tainted
-------------------------------
linux/crypto/pcrypt.c:81 suspicious rcu_dereference_check() usage!
other info that might help us debug this:
rcu_scheduler_active = 1, debug_locks = 1
1 lock held by cryptomgr_test/153:
#0 : (rcu_read_lock_bh){.+....}, at: [<ffffffff812c8075>] pcrypt_do_parallel.isra.2+0x5/0x200
Fix that by using rcu_dereference_bh() instead.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2013-12-05 21:28:42 +08:00
..
2013-11-23 16:18:25 -08:00
2013-11-16 12:02:36 +05:30
2012-09-07 04:17:06 +08:00
2013-10-07 14:16:57 +08:00
2013-10-30 09:51:45 +08:00
2013-02-19 20:27:03 +08:00
2013-08-14 20:42:03 +10:00
2013-11-15 09:32:21 +09:00
2013-02-19 20:27:03 +08:00
2013-07-03 16:07:25 -07:00
2013-06-25 19:15:17 +08:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-09-24 06:02:23 +10:00
2012-08-01 17:47:27 +08:00
2013-09-08 14:33:50 +10:00
2012-06-14 10:07:23 +08:00
2013-11-28 22:16:23 +08:00
2013-10-16 20:56:25 +08:00
2013-02-19 20:27:03 +08:00
2011-09-22 21:25:25 +10:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:08:33 +10:00
2012-12-06 17:16:26 +08:00
2012-12-06 17:16:26 +08:00
2013-08-14 20:42:03 +10:00
2008-02-07 08:42:26 -08:00
2013-11-28 22:25:17 +08:00
2013-02-04 21:16:53 +08:00
2010-02-16 20:31:37 +08:00
2013-04-25 21:01:47 +08:00
2010-02-16 20:31:04 +08:00
2013-01-20 10:16:45 +11:00
2012-03-23 16:58:38 -07:00
2013-09-12 15:31:34 +10:00
2013-09-12 15:31:34 +10:00
2012-10-24 21:21:18 +08:00
2012-08-01 17:47:24 +08:00
2013-03-10 16:46:43 +08:00
2011-10-31 19:31:11 -04:00
2013-02-25 15:56:15 -08:00
2013-02-04 21:16:53 +08:00
2012-08-01 17:47:27 +08:00
2012-08-01 17:47:24 +08:00
2010-02-16 20:33:49 +08:00
2010-12-02 14:47:16 +08:00
2013-09-02 20:32:58 +10:00
2008-08-29 15:50:02 +10:00
2013-10-07 14:17:06 +08:00
2011-07-08 17:21:21 +08:00
2012-08-01 17:47:27 +08:00
2013-10-25 17:14:03 -04:00
2010-03-30 22:02:32 +09:00
2013-06-25 19:15:17 +08:00
2013-11-23 16:18:25 -08:00
2012-08-01 17:47:27 +08:00
2012-08-01 17:47:27 +08:00
2011-11-09 11:50:31 +08:00
2013-07-09 10:33:30 -07:00
2013-07-09 10:33:30 -07:00
2012-08-01 17:47:27 +08:00
2013-12-05 21:28:41 +08:00
2011-10-31 19:31:11 -04:00
2011-08-06 18:32:45 -07:00
2013-12-05 21:28:41 +08:00
2008-12-25 11:02:24 +11:00
2008-02-07 08:42:26 -08:00
2013-02-19 20:27:03 +08:00
2013-12-05 21:28:42 +08:00
2011-10-31 19:31:11 -04:00
2008-07-10 20:35:12 +08:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2013-02-19 20:27:03 +08:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:27:58 +10:00
2012-08-01 17:47:27 +08:00
2013-02-04 21:16:53 +08:00
2012-08-01 17:47:25 +08:00
2011-08-10 19:00:28 +08:00
2013-04-03 09:06:31 +08:00
2013-05-28 15:43:04 +08:00
2013-02-19 20:27:03 +08:00
2013-11-28 22:25:17 +08:00
2013-01-08 07:03:04 +01:00
2012-08-01 17:47:24 +08:00
2013-11-28 22:25:17 +08:00
2013-09-07 12:56:26 +10:00
2012-08-01 17:47:26 +08:00
2011-11-09 11:53:32 +08:00
2012-08-01 17:47:27 +08:00
2012-10-15 22:33:20 +08:00
2012-08-01 17:47:27 +08:00
2011-10-31 19:31:11 -04:00
2012-10-11 13:42:32 +11:00
2011-11-09 11:56:06 +08:00
2011-06-29 05:48:41 -07:00