From: Doron Roberts-Kedes <[email protected]> Date: Fri, 20 Jul 2018 11:19:00 -0700
> 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]> Applied to net-next, thanks.
