commit | 69ca9293e8dd9323c6cde579e1855d6ce9489a46 | [log] [tgz] |
---|---|---|
author | Dave Watson <davejwatson@fb.com> | Thu Mar 22 10:09:53 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 23 12:25:53 2018 -0400 |
tree | 967a3ffd2d63ba6697cf22cb539adec79169ca11 | |
parent | ae06c70b135886d7d6252f3090146f01a3f3b80c [diff] |
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>