aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-call.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-02-07 13:10:30 -0500
committerDavid Howells <dhowells@redhat.com>2014-02-26 12:25:07 -0500
commit817913d8cd7627d9303bce97c3c339ceb0f8e199 (patch)
tree53964a9db0d524b04828a2ff3f4295d20621b92f /net/rxrpc/ar-call.c
parent9823f39a1719dce0da8a47cdd5c66ff8831f03f2 (diff)
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 1e0903a2a0db..6e4d58c9b042 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)
99 call->rx_data_expect = 1; 99 call->rx_data_expect = 1;
100 call->rx_data_eaten = 0; 100 call->rx_data_eaten = 0;
101 call->rx_first_oos = 0; 101 call->rx_first_oos = 0;
102 call->ackr_win_top = call->rx_data_eaten + 1 + RXRPC_MAXACKS; 102 call->ackr_win_top = call->rx_data_eaten + 1 + rxrpc_rx_window_size;
103 call->creation_jif = jiffies; 103 call->creation_jif = jiffies;
104 return call; 104 return call;
105} 105}