Re: [PATCH RFC 02/10] net: rename skb_copy_to_page_nocache() helper

From: Alexander Duyck
Date: Mon Oct 28 2024 - 13:50:23 EST


On Mon, Oct 28, 2024 at 5:05 AM Yunsheng Lin <linyunsheng@xxxxxxxxxx> wrote:
>
> Rename skb_copy_to_page_nocache() to skb_copy_to_frag_nocache()
> to avoid calling virt_to_page() as we are about to pass virtual
> address directly.
>
> CC: Alexander Duyck <alexander.duyck@xxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> CC: Linux-MM <linux-mm@xxxxxxxxx>
> Signed-off-by: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
> ---
> include/net/sock.h | 9 ++++-----
> net/ipv4/tcp.c | 7 +++----
> net/kcm/kcmsock.c | 7 +++----
> 3 files changed, 10 insertions(+), 13 deletions(-)

Looks good to me.

Reviewed-by: Alexander Duyck <alexanderduyck@xxxxxx>