diff options
author | 2016-01-28 03:11:22 -0500 | |
---|---|---|
committer | 2016-01-29 17:28:39 -0800 | |
commit | d612a579771385e08f7b665063b36bfa52c03ea3 (patch) | |
tree | 448f38fc7edb9b10372b2fd0bf1abacdb3bfd80f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnxt_en: Exclude rx_drop_pkts hw counter from the stack's rx_dropped counter. (diff) | |
download | wireguard-linux-d612a579771385e08f7b665063b36bfa52c03ea3.tar.xz wireguard-linux-d612a579771385e08f7b665063b36bfa52c03ea3.zip |
bnxt_en: Fix crash in bnxt_free_tx_skbs() during tx timeout.
The ring index j is not wrapped properly at the end of the ring, causing
it to reference pointers past the end of the ring. For proper loop
termination and to access the ring properly, we need to increment j and
mask it before referencing the ring entry.
Signed-off-by: Michael Chan <mchan@broadcom.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