Yonghong Song 15172a46fa bpf: net: Refactor bpf_iter target registration
Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
2020-05-13 12:30:50 -07:00
..
2020-03-12 15:55:00 -07:00
2019-07-27 14:23:48 -07:00
2020-03-30 13:45:04 -07:00
2020-03-12 15:55:00 -07:00
2020-03-29 22:30:57 -07:00
2020-03-12 15:55:00 -07:00
2020-04-18 15:04:27 -07:00
2020-03-12 15:55:00 -07:00