]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit348349fb85430e7168b66b75dd4447e4785612fb
tree1f425d352aa1cd9ad342dc985174483667bb606e
parentf63416bd0aada0b1938ddc67d6617c576984102f
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