summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-07 21:17:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-09 14:29:01 +0200
commite0f489a25a9928da72dbf697ec52e987041c8dd1 (patch)
tree407da3c1cf8e7ae0b3ee9ee22ad2b4f24dd0e58b /scripts/gdb/linux/proc.py
parentb5e944c50cbd10bc35d08b3093de83df10949f17 (diff)
staging: rtl8188eu: use safe iterator in dequeue_xmitframes_to_sleeping_queue()
On some code paths the xmitframe_enqueue_for_sleeping_sta() function can call list_del_init(&pxmitframe->list) which would lead to a forever loop because "pxmitframe" is the list iterator. Use the _safe version of the iterator to prevent this. Fixes: 23017c8842d2 ("staging: rtl8188eu: Use list iterators and helpers") Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YL5ixzKaYKkpHhky@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions