aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2022-09-20 11:46:12 +0200
committerMarc Kleine-Budde <[email protected]>2022-09-23 13:55:00 +0200
commit103108cb9673814a1f73522dacc79ad28cfc0271 (patch)
treee9446035f1290b9e5d61d69ba88ae82a6eed60ad /tools/perf/scripts/python/export-to-sqlite.py
parent29a8c9ec9090b335ece3bd58d779af7f569b5a65 (diff)
can: gs_usb: gs_can_open(): initialize time counter before starting device
On busy networks the CAN controller might receive CAN frames directly after starting it but before the timecounter is setup. This will lead to NULL pointer deref while converting the converting the CAN frame's timestamp with the timecounter. Close the race window by setting up the timecounter before starting the CAN controller. Fixes: 45dfa45f52e6 ("can: gs_usb: add RX and TX hardware timestamp support") Link: https://lore.kernel.org/all/[email protected] Cc: John Whittington <[email protected] Tested-by: John Whittington <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions