diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2025-11-25 14:20:48 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-27 04:14:17 +0300 |
| commit | 651765e8d527427e1d91fb7f606c5506f437f622 (patch) | |
| tree | e069d3450ca2b3f0dd713138abaeab708b800fea /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a8080c2f0e50f7d209fe95edaaec516b3db586f2 (diff) | |
| download | linux-651765e8d527427e1d91fb7f606c5506f437f622.tar.xz | |
netlink: specs: add big-endian byte-order for u32 IPv4 addresses
The fix commit converted several IPv4 address attributes from binary
to u32, but forgot to specify byte-order: big-endian. Without this,
YNL tools display IPv4 addresses incorrectly due to host-endian
interpretation.
Add the missing byte-order: big-endian to all affected u32 IPv4
address fields to ensure correct parsing and display.
Fixes: 1064d521d177 ("netlink: specs: support ipv4-or-v6 for dual-stack fields")
Reported-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Link: https://patch.msgid.link/20251125112048.37631-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
