diff options
| author | Doron Roberts-Kedes <[email protected]> | 2018-07-25 14:48:21 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-26 14:11:34 -0700 |
| commit | 0a26cf3ff47d9e70fbed2fa79b0678ee70e25113 (patch) | |
| tree | 2074e891ca6150854be948a07a4aa60d13ab3069 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2ed9db3074fcd8d12709fe40ff0e691d74229818 (diff) | |
tls: Skip zerocopy path for ITER_KVEC
The zerocopy path ultimately calls iov_iter_get_pages, which defines the
step function for ITER_KVECs as simply, return -EFAULT. Taking the
non-zerocopy path for ITER_KVECs avoids the unnecessary fallback.
See https://lore.kernel.org/lkml/[email protected]/T/#u
for a discussion of why zerocopy for vmalloc data is not a good idea.
Discovered while testing NBD traffic encrypted with ktls.
Fixes: c46234ebb4d1 ("tls: RX path for ktls")
Signed-off-by: Doron Roberts-Kedes <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions