diff options
author | Dave Watson <davejwatson@fb.com> | 2018-03-22 20:09:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-23 19:25:53 +0300 |
commit | 69ca9293e8dd9323c6cde579e1855d6ce9489a46 (patch) | |
tree | 967a3ffd2d63ba6697cf22cb539adec79169ca11 /net/tls/tls_main.c | |
parent | ae06c70b135886d7d6252f3090146f01a3f3b80c (diff) | |
download | linux-69ca9293e8dd9323c6cde579e1855d6ce9489a46.tar.xz |
tls: Generalize zerocopy_from_iter
Refactor zerocopy_from_iter to take arguments for pages and size,
such that it can be used for both tx and rx. RX will also support
zerocopy direct to output iter, as long as the full message can
be copied at once (a large enough userspace buffer was provided).
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions