summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYinjun Zhang <yinjun.zhang@corigine.com>2021-10-29 13:29:02 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-29 13:25:32 +0100
commitf8d384a640dd32aaf0a05fec137ccbf0e986b09f (patch)
tree844b589d6e182d4c8774c0c3c6ac3b3a23b20dc4 /tools/perf/scripts/python
parente300a85db1f16a5805033feb56ec1861f02c7b1c (diff)
nfp: fix NULL pointer access when scheduling dim work
Each rx/tx ring has a related dim work, when rx/tx ring number is decreased by `ethtool -L`, the corresponding rx_ring or tx_ring is assigned NULL, while its related work is not destroyed. When scheduled, the work will access NULL pointer. Fixes: 9d32e4e7e9e1 ("nfp: add support for coalesce adaptive feature") Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com> Signed-off-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions