diff options
author | David S. Miller <davem@davemloft.net> | 2012-01-24 23:03:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-24 23:03:44 +0100 |
commit | efc3dbc37412c027e363736b4f4c74ee5e8ecffc (patch) | |
tree | 958b635fa7f52456c19247e892a3d92d21a448a7 /arch/s390/include/asm/swab.h | |
parent | netprio_cgroup.h: dont include module.h from other includes (diff) | |
download | linux-efc3dbc37412c027e363736b4f4c74ee5e8ecffc.tar.xz linux-efc3dbc37412c027e363736b4f4c74ee5e8ecffc.zip |
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>
Diffstat (limited to 'arch/s390/include/asm/swab.h')
0 files changed, 0 insertions, 0 deletions