Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149715
b: refs/heads/master
c: 49f6969
h: refs/heads/master
i:
  149713: 8c2c3e2
  149711: f8deddc
v: v3
  • Loading branch information
Andy Grover authored and David S. Miller committed Apr 10, 2009
1 parent 40c831c commit 135effc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7acd4a794c1530af063e51f3f7171e75556458f3
refs/heads/master: 49f696914100780f6bf8e652d3468de0015d6172
10 changes: 5 additions & 5 deletions trunk/net/rds/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,11 +854,6 @@ int rds_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,

rm->m_daddr = daddr;

/* Parse any control messages the user may have included. */
ret = rds_cmsg_send(rs, rm, msg, &allocated_mr);
if (ret)
goto out;

/* rds_conn_create has a spinlock that runs with IRQ off.
* Caching the conn in the socket helps a lot. */
if (rs->rs_conn && rs->rs_conn->c_faddr == daddr)
Expand All @@ -874,6 +869,11 @@ int rds_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
rs->rs_conn = conn;
}

/* Parse any control messages the user may have included. */
ret = rds_cmsg_send(rs, rm, msg, &allocated_mr);
if (ret)
goto out;

if ((rm->m_rdma_cookie || rm->m_rdma_op)
&& conn->c_trans->xmit_rdma == NULL) {
if (printk_ratelimit())
Expand Down

0 comments on commit 135effc

Please sign in to comment.