Re: [PATCH v2 net-next 0/8] Introduce bpf ID
From: Martin KaFai Lau <hidden>
Date: 2017-06-03 01:08:47
On Wed, May 31, 2017 at 07:35:18PM -0400, David Miller wrote:
From: Martin KaFai Lau <redacted> Date: Wed, 31 May 2017 11:58:54 -0700quoted
This patch series: 1) Introduce ID for both bpf_prog and bpf_map. 2) Add bpf commands to iterate the prog IDs and map IDs of the system. 3) Add bpf commands to get a prog/map fd from an ID 4) Add bpf command to get prog/map info from a fd. The prog/map info is a jump start in this patchset and it is not meant to be a complete list. They can be extended in the future patches. v2: Compiler warning fixes: - Remove lockdep_is_held() usage. Add comment to explain the lock situation instead. - Add static for idr related variables - Add __user to the uattr param in bpf_prog_get_info_by_fd() and bpf_map_get_info_by_fd().Series applied, thanks Martin.
Patch 1 may not apply cleanly due to another newly added field in 'struct bpf_prog_aux' on May 31. Should I respin?