summaryrefslogtreecommitdiff
path: root/net/rxrpc/ar-call.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-02-07 18:10:30 (GMT)
committerDavid Howells <dhowells@redhat.com>2014-02-26 17:25:07 (GMT)
commit817913d8cd7627d9303bce97c3c339ceb0f8e199 (patch)
tree53964a9db0d524b04828a2ff3f4295d20621b92f /net/rxrpc/ar-call.c
parent9823f39a1719dce0da8a47cdd5c66ff8831f03f2 (diff)
downloadlinux-817913d8cd7627d9303bce97c3c339ceb0f8e199.tar.xz
af_rxrpc: Expose more RxRPC parameters via sysctls
Expose RxRPC parameters via sysctls to control the Rx window size, the Rx MTU maximum size and the number of packets that can be glued into a jumbo packet. More info added to Documentation/networking/rxrpc.txt. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/ar-call.c')
-rw-r--r--net/rxrpc/ar-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-call.c b/net/rxrpc/ar-call.c
index 1e0903a..6e4d58c 100644
--- a/net/rxrpc/ar-call.c
+++ b/net/rxrpc/ar-call.c
@@ -99,7 +99,7 @@ static struct rxrpc_call *rxrpc_alloc_call(gfp_t gfp)
call->rx_data_expect = 1;
call->rx_data_eaten = 0;
call->rx_first_oos = 0;
- call->ackr_win_top = call->rx_data_eaten + 1 + RXRPC_MAXACKS;
+ call->ackr_win_top = call->rx_data_eaten + 1 + rxrpc_rx_window_size;
call->creation_jif = jiffies;
return call;
}