diff options
author | Stanislav Fomichev <[email protected]> | 2018-12-05 20:40:47 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2018-12-07 13:38:12 -0800 |
commit | 13e56ec2cc9860aa22e01ffc7a3160f35a96b728 (patch) | |
tree | 5dac8dfa52ee1037a7c9518618bc619dcb724a64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1b4e5ad5d6b9f15cd0b5121f86d4719165958417 (diff) |
selftests/bpf: use thoff instead of nhoff in BPF flow dissector
We are returning thoff from the flow dissector, not the nhoff. Pass
thoff along with nhoff to the bpf program (initially thoff == nhoff)
and expect flow dissector amend/return thoff, not nhoff.
This avoids confusion, when by the time bpf flow dissector exits,
nhoff == thoff, which doesn't make much sense.
Signed-off-by: Stanislav Fomichev <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions