Thread (24 messages) flat view 24 messages, 2 authors, 2018-07-12

Re: [PATCH v3 net-next 10/19] tls: Fix zerocopy_from_iter iov handling

From: Dave Watson <hidden>
Date: 2018-07-12 16:57:25

On 07/11/18 10:54 PM, Boris Pismenny wrote:
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.
This breaks tests (which I will send up as selftests shortly).  I
believe we are depending on zerocopy_from_iter to advance the iter,
and if zerocopy_from_iter returns a failure, then we revert it.  So
you can revert it here if you want, but you'd have to advance it if we
actually used it instead.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help