commit | 4718799817c5a30ae723eda21f3a6c7d8701b1a4 | [log] [tgz] |
---|---|---|
author | Boris Pismenny <borisp@mellanox.com> | Fri Jul 13 14:33:44 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 00:13:11 2018 -0700 |
tree | a014c9c6f4414480c86e0a8141b1cd94c8fa6998 | |
parent | 4799ac81e52a72a6404827bf2738337bb581a174 [diff] |
tls: Fix zerocopy_from_iter iov handling zerocopy_from_iter iterates over the message, but it doesn't revert the updates made by the iov iteration. This patch fixes it. Now, the iov can be used after calling zerocopy_from_iter. Fixes: 3c4d75591 ("tls: kernel TLS support") Signed-off-by: Boris Pismenny <borisp@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>