]> git.baikalelectronics.ru Git - kernel.git/commit
bpf_load: add map name to load_maps error message
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 29 Oct 2018 21:14:41 +0000 (14:14 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 7 Nov 2018 21:34:54 +0000 (22:34 +0100)
commit6e020e319e7d1c2c5e21fd6df5c445fd60d040b4
treebbfcc421a8e29d61836078eb65572344dd98f062
parentc6be69bd75bf7d3d8c21f65dd74a9f518d0ef608
bpf_load: add map name to load_maps error message

To help when debugging bpf/xdp load issues, have the load_map()
error message include the number and name of the map that
failed.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/bpf_load.c