diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 2d3cf0a52d82..ab50c3c9e6a8 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -525,8 +525,7 @@ rpc_setbufsize(struct rpc_clnt *clnt, unsigned int sndsize, unsigned int rcvsize | |||
525 | xprt->rcvsize = 0; | 525 | xprt->rcvsize = 0; |
526 | if (rcvsize) | 526 | if (rcvsize) |
527 | xprt->rcvsize = rcvsize + RPC_SLACK_SPACE; | 527 | xprt->rcvsize = rcvsize + RPC_SLACK_SPACE; |
528 | if (xprt_connected(xprt)) | 528 | xprt->ops->set_buffer_size(xprt); |
529 | xprt_sock_setbufsize(xprt); | ||
530 | } | 529 | } |
531 | 530 | ||
532 | /* | 531 | /* |