rds: block ints when acquiring c_lock in rds_conn_message_info()
authorZach Brown <zach.brown@oracle.com>
Fri, 4 Jun 2010 21:25:27 +0000 (14:25 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:15:26 +0000 (18:15 -0700)
commit501dcccdb7a2335cde07d4acb56e636182d62944
treee2079f8d22c498e6c7f1fcfa326e123b4945df7b
parent671202f3491cccdb267f88ad59ba0635aeb2a22e
rds: block ints when acquiring c_lock in rds_conn_message_info()

conn->c_lock is acquired in interrupt context.  rds_conn_message_info() is
called from user context and was acquiring c_lock without blocking interrupts,
leading to possible deadlocks.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
net/rds/connection.c