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> > --- > kernel/bpf/syscall.c | 271 ++++++++++++++++++++++++------------------- > 1 file changed, 151 insertions(+), 120 deletions(-) > Nice bit of cleanup. Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>