Re: [PATCH net-next 1/2] tcp: set recv_skip_hint when tcp_inq is less than PAGE_SIZE

2018-10-01 Thread David Miller
From: Soheil Hassas Yeganeh Date: Wed, 26 Sep 2018 16:57:03 -0400 > From: Soheil Hassas Yeganeh > > When we have less than PAGE_SIZE of data on receive queue, > we set recv_skip_hint to 0. Instead, set it to the actual > number of bytes available. > > Signed-off-by: Soheil Hassas Yeganeh > Si

[PATCH net-next 1/2] tcp: set recv_skip_hint when tcp_inq is less than PAGE_SIZE

2018-09-26 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh When we have less than PAGE_SIZE of data on receive queue, we set recv_skip_hint to 0. Instead, set it to the actual number of bytes available. Signed-off-by: Soheil Hassas Yeganeh Signed-off-by: Eric Dumazet --- net/ipv4/tcp.c | 14 +- 1 file changed,