OSDN Git Service

net-zerocopy: Set zerocopy hint when data is copied
authorArjun Roy <arjunroy@google.com>
Wed, 2 Dec 2020 22:53:48 +0000 (14:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Dec 2020 21:40:53 +0000 (13:40 -0800)
commit0c3936d32f754c6e9068a25b7823dc4b5bc42607
tree1f425d352aa1cd9ad342dc985174483667bb606e
parentf21a3c48039891c02063fe6dc3c3a2f8f344b345
net-zerocopy: Set zerocopy hint when data is copied

Set zerocopy hint, event when falling back to copy, so that the
pending data can be efficiently received using zerocopy when
possible.

Signed-off-by: Arjun Roy <arjunroy@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp.c