diff options
author | Jakub Kicinski <[email protected]> | 2018-01-11 20:29:04 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-01-14 23:36:29 +0100 |
commit | daffc5a2e6f4bf4f99b00e183117920e321b6763 (patch) | |
tree | 30fb6e39546cc240144e66f3b4fa4d555d7aa6fa /scripts/gdb/linux/lists.py | |
parent | 1110f3a9bcf394c06b81a98206aee9b6860653c8 (diff) |
bpf: hashtab: move attribute validation before allocation
Number of attribute checks are currently performed after hashtab
is already allocated. Move them to be able to split them out to
the check function later on. Checks have to now be performed on
the attr union directly instead of the members of bpf_map, since
bpf_map will be allocated later. No functional changes.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions