David S. Miller efc3dbc374 rds: Make rds_sock_lock BH rather than IRQ safe.
rds_sock_info() triggers locking warnings because we try to perform a
local_bh_enable() (via sock_i_ino()) while hardware interrupts are
disabled (via taking rds_sock_lock).

There is no reason for rds_sock_lock to be a hardware IRQ disabling
lock, none of these access paths run in hardware interrupt context.

Therefore making it a BH disabling lock is safe and sufficient to
fix this bug.

Reported-by: Kumar Sanghvi <kumaras@chelsio.com>
Reported-by: Josh Boyer <jwboyer@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-01-24 17:03:44 -05:00
..
2011-12-14 02:39:30 -05:00
2011-12-16 15:07:28 -05:00
2012-01-17 10:46:55 -05:00
2011-03-17 11:59:32 +11:00
2011-12-11 18:25:16 -05:00
2011-11-26 15:57:36 -05:00
2011-09-16 19:20:20 -04:00
2011-12-16 15:49:52 -05:00
2010-10-15 15:53:27 +02:00