diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2025-03-11 21:12:59 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 11:14:35 +0100 |
commit | 5f079290e5913a0060e059500b7d440990ac1066 (patch) | |
tree | ee02612c979b38661cdb743ff95783318539169c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4003c9e78778e93188a09d6043a74f7154449d43 (diff) |
net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Registering the interrupts for TX or RX DMA Channels prior to registering
their respective NAPI callbacks can result in a NULL pointer dereference.
This is seen in practice as a random occurrence since it depends on the
randomness associated with the generation of traffic by Linux and the
reception of traffic from the wire.
Fixes: 681eb2beb3ef ("net: ethernet: ti: am65-cpsw: ensure proper channel cleanup in error path")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Co-developed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://patch.msgid.link/20250311154259.102865-1-s-vadapalli@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions