summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorJakub Kicinski2018-01-12 05:29:06 +0100
committerDaniel Borkmann2018-01-14 23:36:29 +0100
commitbd475643d74e8ed78bfd36d941053b0e45974e8e (patch)
tree30fdfb7335e61f5d34c864f2abce9bf74f0f89ad /include/xen
parentbpf: hashtab: move checks out of alloc function (diff)
downloadkernel-qcow2-linux-bd475643d74e8ed78bfd36d941053b0e45974e8e.tar.gz
kernel-qcow2-linux-bd475643d74e8ed78bfd36d941053b0e45974e8e.tar.xz
kernel-qcow2-linux-bd475643d74e8ed78bfd36d941053b0e45974e8e.zip
bpf: add helper for copying attrs to struct bpf_map
All map types reimplement the field-by-field copy of union bpf_attr members into struct bpf_map. Add a helper to perform this operation. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions