diff options
author | Stanislav Fomichev <[email protected]> | 2024-03-18 09:54:27 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-03-19 13:47:29 +0100 |
commit | f6e922365faf4cd576bd1cf3e64b58c8a32e1856 (patch) | |
tree | c372a3f31a8e6f41af1bcd51c6187805f8da8503 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0740b6427e90ef03177888c50dc1c78ca6e0f7f0 (diff) |
xsk: Don't assume metadata is always requested in TX completion
`compl->tx_timestam != NULL` means that the user has explicitly
requested the metadata via XDP_TX_METADATA+XDP_TX_METADATA_TIMESTAMP.
Fixes: 48eb03dd2630 ("xsk: Add TX timestamp and TX checksum offload support")
Reported-by: Daniele Salvatore Albano <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Daniele Salvatore Albano <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions