diff options
| author | Justin Lai <[email protected]> | 2025-03-06 07:05:10 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-11 12:25:49 +0000 |
| commit | 415f135ace7fd824cde083184a922e39156055b5 (patch) | |
| tree | 3a4974b9c446310eec870b29ea6e362624bed922 /tools/perf/scripts/python | |
| parent | Merge branch 'bonding-fix-incorrect-mac-address-setting' (diff) | |
| download | kernel-415f135ace7fd824cde083184a922e39156055b5.tar.gz kernel-415f135ace7fd824cde083184a922e39156055b5.zip | |
rtase: Fix improper release of ring list entries in rtase_sw_reset
Since rtase_init_ring, which is called within rtase_sw_reset, adds ring
entries already present in the ring list back into the list, it causes
the ring list to form a cycle. This results in list_for_each_entry_safe
failing to find an endpoint during traversal, leading to an error.
Therefore, it is necessary to remove the previously added ring_list nodes
before calling rtase_init_ring.
Fixes: 079600489960 ("rtase: Implement net_device_ops")
Signed-off-by: Justin Lai <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
