summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/nfp_main.c
diff options
context:
space:
mode:
authorCarl Heymann2018-01-23 02:29:43 +0100
committerDavid S. Miller2018-01-23 16:12:01 +0100
commite71494ae68d2cbade38bbc2935cd7ff96e2b9b04 (patch)
treee2944b52aba27ae1acfe8f1f92eff65fd82ea512 /drivers/net/ethernet/netronome/nfp/nfp_main.c
parenttun: avoid calling xdp_rxq_info_unreg() twice (diff)
downloadkernel-qcow2-linux-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.tar.gz
kernel-qcow2-linux-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.tar.xz
kernel-qcow2-linux-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 'drivers/net/ethernet/netronome/nfp/nfp_main.c')
0 files changed, 0 insertions, 0 deletions