Re: [PATCH v3 bpf-next 01/11] bpf: add bpf_map_{value_size,update_value,map_copy_value} functions
From: Yonghong Song
Date: Fri Dec 13 2019 - 12:08:15 EST
On 12/11/19 2:33 PM, Brian Vazquez wrote:
> This commit moves reusable code from map_lookup_elem and map_update_elem
> to avoid code duplication in kernel/bpf/syscall.c.
>
> Signed-off-by: Brian Vazquez <brianvv@xxxxxxxxxx>
> Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>
> ---
> kernel/bpf/syscall.c | 275 ++++++++++++++++++++++++-------------------
> 1 file changed, 151 insertions(+), 124 deletions(-)
>