diff options
author | John Fastabend <[email protected]> | 2020-05-29 16:06:41 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-06-01 14:48:32 -0700 |
commit | ca2f5f21dbbd5e3a00cd3e97f728aa2ca0b2e011 (patch) | |
tree | 5aeebc8c7dc5e317b92dfd90bb723bd2d8960f83 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | df8fe57c071c58f355d0a4985ecd2fcaf99b050f (diff) |
bpf: Refactor sockmap redirect code so its easy to reuse
We will need this block of code called from tls context shortly
lets refactor the redirect logic so its easy to use. This also
cleans up the switch stmt so we have fewer fallthrough cases.
No logic changes are intended.
Fixes: d829e9c4112b5 ("tls: convert to generic sk_msg interface")
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/159079360110.5745.7024009076049029819.stgit@john-Precision-5820-Tower
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions