RDS: Do not set op_active in r_m_copy_from_user().
authorAndy Grover <andy.grover@oracle.com>
Thu, 4 Feb 2010 03:40:32 +0000 (19:40 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:02 +0000 (18:12 -0700)
commit372cd7dedfd1ea93a9ae8d9c282e910dc1b76773
tree248c672e0fd7fdb8015c51d02a0e74df8d9feef9
parent5b2366bd2835919e2e6a836e837eab4a9274bd46
RDS: Do not set op_active in r_m_copy_from_user().

Do not allocate sgs for data for 0-length datagrams

Set data.op_active in rds_sendmsg() instead of
rds_message_copy_from_user().

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