diff options
author | 2018-01-22 17:29:43 -0800 | |
---|---|---|
committer | 2018-01-23 10:12:01 -0500 | |
commit | e71494ae68d2cbade38bbc2935cd7ff96e2b9b04 (patch) | |
tree | e2944b52aba27ae1acfe8f1f92eff65fd82ea512 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tun: avoid calling xdp_rxq_info_unreg() twice (diff) | |
download | linux-dev-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.tar.xz linux-dev-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.zip |
nfp: fix fw dump handling of absolute rtsym size
Fix bug that causes _absolute_ rtsym sizes of > 8 bytes (as per symbol
table) to result in incorrect space used during a TLV-based debug dump.
Detail: The size calculation stage calculates the correct size (size of
the rtsym address field == 8), while the dump uses the size in the table
to calculate the TLV size to reserve. Symbols with size <= 8 are handled
OK due to aligning sizes to 8, but including any absolute symbol with
listed size > 8 leads to an ENOSPC error during the dump.
Fixes: da762863edd9 ("nfp: fix absolute rtsym handling in debug dump")
Signed-off-by: Carl Heymann <carl.heymann@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions