diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-08-20 19:02:01 -0700 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-09-08 13:10:35 -0700 |
| commit | b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6b (patch) | |
| tree | 43665887431f6f0cf2f260505ee0fe1906a80405 /scripts/basic | |
| parent | 53432c4c3e869076350aef319534431af8ba99c1 (diff) | |
| download | linux-b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6b.tar.gz linux-b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6b.zip | |
eth: ice: don't dereference pointers from TP_printk()
After forwarding net-next during the v7.3 merge window we started
seeing:
TRACE EVENT ERROR: Event ice_tx_dim_work has double dereference in TP_printk: REC->q_vector->tx.tx_ring->q_index
WARNING: kernel/trace/trace_events.c:420 at test_double_dereference.cold+0x39/0x4b
this is due to extra checks added in tracing subsystem in
commit b5cc230af5e5 ("tracing: Warn when an event dereferences a pointer in TP_printk()").
Printing happens long after the event was recorded, by which point
the pointers may be invalid (the ring or the dim instance).
Copy the eight scalars into the event instead.
Fixes: 3089cf6d3caa ("ice: add tracepoints")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
