diff options
author | 2025-06-09 13:46:56 -0500 | |
---|---|---|
committer | 2025-06-10 10:44:38 +0300 | |
commit | 61ce04601e0d8265ec6d2ffa6df5a7e1bce64854 (patch) | |
tree | f9bad77e57a1a21441a3a85b1d432c9725286d67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: dell_rbu: Fix lock context warning (diff) | |
download | wireguard-linux-61ce04601e0d8265ec6d2ffa6df5a7e1bce64854.tar.xz wireguard-linux-61ce04601e0d8265ec6d2ffa6df5a7e1bce64854.zip |
platform/x86: dell_rbu: Fix list usage
Pass the correct list head to list_for_each_entry*() when looping through
the packet list.
Without this patch, reading the packet data via sysfs will show the data
incorrectly (because it starts at the wrong packet), and clearing the
packet list will result in a NULL pointer dereference.
Fixes: d19f359fbdc6 ("platform/x86: dell_rbu: don't open code list_for_each_entry*()")
Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com>
Link: https://lore.kernel.org/r/20250609184659.7210-3-stuart.w.hayes@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions