rxrpc: Rewrite the data and ack handling code
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / net / rxrpc / misc.c
index 39e7cc37c392b71116873680bcff66f38e196e34..fd096f742e4b1d653710327420421345797457a0 100644 (file)
@@ -50,7 +50,7 @@ unsigned int rxrpc_idle_ack_delay = 0.5 * HZ;
  * limit is hit, we should generate an EXCEEDS_WINDOW ACK and discard further
  * packets.
  */
-unsigned int rxrpc_rx_window_size = 32;
+unsigned int rxrpc_rx_window_size = RXRPC_RXTX_BUFF_SIZE - 46;
 
 /*
  * Maximum Rx MTU size.  This indicates to the sender the size of jumbo packet