summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-13 07:49:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-14 17:05:25 +0100
commit81f5c72d041b92490261354a528b60e66ed2fa3b (patch)
tree12b2a4a74580fc2a5bd23f37f894fc650dffec45 /scripts/gdb/linux/utils.py
parent0b3144da31f855fce652303f588416a60991bdef (diff)
USB: properly lock dynamic id list when showing an id
When walking the list of dynamic ids for a driver, no lock was being held, which meant that an id could be removed or added while the list was being iterated. Fix this up by properly grabing the lock while we walk the list. Reported-by: Alan Stern <stern@rowland.harvard.edu> Cc: linux-usb@vger.kernel.org Link: https://lore.kernel.org/r/2024111324-tubby-facecloth-d4a0@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions