From: David S. Miller Date: Tue, 24 Jan 2012 22:03:44 +0000 (-0500) Subject: rds: Make rds_sock_lock BH rather than IRQ safe. X-Git-Tag: v3.3-rc2~37^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc3dbc37412c027e363736b4f4c74ee5e8ecffc;p=pandora-kernel.git 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 Reported-by: Josh Boyer Signed-off-by: David S. Miller --- Reading git-diff-tree failed