summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-22 22:26:39 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-23 09:20:17 +0900
commitc6b51091cafff9ce6c03c1416aa13864d17ab97c (patch)
tree15df4a40297f1002e8602a8456b26d94e63cd5d1 /tools/perf/scripts/python
parent93f51579e7df248780214094418f205253383cc5 (diff)
downloadlinux-next-c6b51091cafff9ce6c03c1416aa13864d17ab97c.tar.gz
linux-next-c6b51091cafff9ce6c03c1416aa13864d17ab97c.zip
firewire: cdev: fix back-transition for iso_resource_auto client resource
The todo member of iso_resource_auto structure represents the state of the client resource and normally transitions in the following order: ISO_RES_AUTO_ALLOC -> ISO_RES_AUTO_REALLOC -> ISO_RES_AUTO_DEALLOC However, concurrent access from the work item and the file descriptor release function can cause the state to transition backwards from ISO_RES_AUTO_DEALLOC to ISO_RES_AUTO_REALLOC. Prevent the back-transition by checking the current state before updating it in the work item. Fixes: fcabbf40fae5 ("firewire: core: move allocation/reallocation paths into specific branch after isoc resource management in cdev") Link: https://lore.kernel.org/r/20260922132639.191593-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions