On Fri,  3 Aug 2018 16:58:12 +0900
Toshiaki Makita <makita.toshi...@lab.ntt.co.jp> 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 <makita.toshi...@lab.ntt.co.jp>

Acked-by: Jesper Dangaard Brouer <bro...@redhat.com>

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

Reply via email to