Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252815
b: refs/heads/master
c: 8985ef0
h: refs/heads/master
i:
  252813: b6e53b6
  252811: 03d072e
  252807: eabe809
  252799: fe87ed7
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 10, 2011
1 parent 036fbe5 commit e6602c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: d6c558379abc27241c75b8c30fc8c94b82537d5e
refs/heads/master: 8985ef0b8af895c3b85a8c1b7108e0169fcbd20b
7 changes: 3 additions & 4 deletions trunk/net/sunrpc/svcsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,11 +1143,8 @@ static int svc_tcp_recvfrom(struct svc_rqst *rqstp)

p = (__be32 *)rqstp->rq_arg.head[0].iov_base;
calldir = p[1];
if (calldir) {
if (calldir)
len = receive_cb_reply(svsk, rqstp);
if (len < 0)
goto error;
}

/* Reset TCP read info */
svsk->sk_reclen = 0;
Expand All @@ -1156,6 +1153,8 @@ static int svc_tcp_recvfrom(struct svc_rqst *rqstp)
if (svc_recv_available(svsk) > sizeof(rpc_fraghdr))
set_bit(XPT_DATA, &svsk->sk_xprt.xpt_flags);

if (len < 0)
goto error;

svc_xprt_copy_addrs(rqstp, &svsk->sk_xprt);
if (serv->sv_stats)
Expand Down

0 comments on commit e6602c9

Please sign in to comment.