Re: [PATCH net v3 2/9] tun: Avoid double-tracking iov_iter length changes

From: Willem de Bruijn
Date: Fri Jan 17 2025 - 05:03:59 EST


Akihiko Odaki wrote:
> tun_get_user() used to track the length of iov_iter with another
> variable. We can use iov_iter_count() to determine the current length
> to avoid such chores.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx>

Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>