Subject: Re: [PATCH v8 bpf-next 04/10] xdp: Helper function to clear kernel pointers in xdp_frame

From: Jesper Dangaard Brouer <[email-masked]>
Date: Fri, 3 Aug 2018 11:06:10 +0200

On Fri,  3 Aug 2018 16:58:12 +0900
Toshiaki Makita <[email-masked]> wrote:

> xdp_frame has kernel pointers which should not be readable from bpf
> programs. When we want to reuse xdp_frame region but it may be read by
> bpf programs later, we can use this helper to clear kernel pointers.
> This is more efficient than calling memset() for the entire struct.
> 
> Signed-off-by: Toshiaki Makita <[email-masked]>

Acked-by: Jesper Dangaard Brouer <[email-masked]>

After this patch is applied, I will take care of updating cpumap in a
similar way. Thanks.

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer