RDS: rds_send_xmit() locking/irq fixes
authorAndy Grover <andy.grover@oracle.com>
Wed, 24 Mar 2010 00:48:04 +0000 (17:48 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:13 +0000 (18:12 -0700)
commit2ad8099b58f274dc23bc866ca259d7e5db87fa1a
treee659d7178d1e2729fc306d3b5dbb4e5e5f47544a
parent049ee3f500954176a87f22e6ee3e98aecb1b8958
RDS: rds_send_xmit() locking/irq fixes

rds_message_put() cannot be called with irqs off, so move it after
irqs are re-enabled.

Spinlocks throughout the function do not to use _irqsave because
the lock of c_send_lock at top already disabled irqs.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/send.c