Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294579
b: refs/heads/master
c: 4a6862b
h: refs/heads/master
i:
  294577: 2b733c3
  294575: f0a5d4e
v: v3
  • Loading branch information
Tom Tucker authored and Trond Myklebust committed Mar 21, 2012
1 parent 6d69084 commit abe5fd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 18d98f6c04991dd3c12acf6f39cea40e9510640a
refs/heads/master: 4a6862b3649d705bf41a36e3c7943d0322a9ee27
9 changes: 7 additions & 2 deletions trunk/net/sunrpc/xprtrdma/rpc_rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,13 +771,18 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep)

/* get request object */
req = rpcr_to_rdmar(rqst);
if (req->rl_reply) {
spin_unlock(&xprt->transport_lock);
dprintk("RPC: %s: duplicate reply 0x%p to RPC "
"request 0x%p: xid 0x%08x\n", __func__, rep, req,
headerp->rm_xid);
goto repost;
}

dprintk("RPC: %s: reply 0x%p completes request 0x%p\n"
" RPC request 0x%p xid 0x%08x\n",
__func__, rep, req, rqst, headerp->rm_xid);

BUG_ON(!req || req->rl_reply);

/* from here on, the reply is no longer an orphan */
req->rl_reply = rep;

Expand Down

0 comments on commit abe5fd6

Please sign in to comment.