diff options
author | Stanislav Fomichev <[email protected]> | 2024-07-12 18:52:51 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-07-25 11:57:27 +0200 |
commit | d5e726d9143c5624135f5dc9e4069799adeef734 (patch) | |
tree | d24f61de8cd5af48ecedeecac656669eb4a8019f /tools/perf/scripts/python/stat-cpi.py | |
parent | fa5ef655615a01533035c6139248c5b33aa27028 (diff) |
xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
Julian reports that commit 341ac980eab9 ("xsk: Support tx_metadata_len")
can break existing use cases which don't zero-initialize xdp_umem_reg
padding. Introduce new XDP_UMEM_TX_METADATA_LEN to make sure we
interpret the padding as tx_metadata_len only when being explicitly
asked.
Fixes: 341ac980eab9 ("xsk: Support tx_metadata_len")
Reported-by: Julian Schindel <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions