diff options
author | Jakub Kicinski <[email protected]> | 2018-05-03 18:37:11 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-05-04 23:41:03 +0200 |
commit | f4e3ec0d573e238f383b3da365127002579a07d6 (patch) | |
tree | 856b1b6e09f4f1cea9be322e3ee65405fcbfbbe7 /lib/mpi/mpiutil.c | |
parent | 6cb5fb3891db9d3f6feb0f7669946550c9abc420 (diff) |
bpf: replace map pointer loads before calling into offloads
Offloads may find host map pointers more useful than map fds.
Map pointers can be used to identify the map, while fds are
only valid within the context of loading process.
Jump to skip_full_check on error in case verifier log overflow
has to be handled (replace_map_fd_with_map_ptr() prints to the
log, driver prep may do that too in the future).
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Reviewed-by: Jiong Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions