Re: [PATCH net-next] tcp: improve recv_skip_hint for tcp_zerocopy_receive

2019-10-13 Thread David Miller
From: Soheil Hassas Yeganeh Date: Thu, 10 Oct 2019 23:27:02 -0400 > From: Soheil Hassas Yeganeh > > tcp_zerocopy_receive() rounds down the zc->length a multiple of > PAGE_SIZE. This results in two issues: > - tcp_zerocopy_receive sets recv_skip_hint to the length of the > receive queue if the

[PATCH net-next] tcp: improve recv_skip_hint for tcp_zerocopy_receive

2019-10-10 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh tcp_zerocopy_receive() rounds down the zc->length a multiple of PAGE_SIZE. This results in two issues: - tcp_zerocopy_receive sets recv_skip_hint to the length of the receive queue if the zc->length input is smaller than the PAGE_SIZE, even though the data in recei