commit | f1cffcbfcc53b825da7d1d26244aabd8dccb24aa | [log] [tgz] |
---|---|---|
author | Andy Grover <andy.grover@oracle.com> | Wed Apr 01 08:20:18 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 02 00:52:21 2009 -0700 |
tree | d71e3c271b29eecfc685b96ab0cf15404bd84ba5 | |
parent | f1782852adb57c8daf76a56146424f6c2f7410b6 [diff] |
RDS: Fix m_rs_lock deadlock rs_send_drop_to() is called during socket close. If it takes m_rs_lock without disabling interrupts, then rds_send_remove_from_sock() can run from the rx completion handler and thus deadlock. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>