diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-07 21:18:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-09 14:29:01 +0200 |
| commit | a56d78b5d00db51676cf211e41ec42285fb4a573 (patch) | |
| tree | 255a01dacec2b3aca3a550c3b4f3913d645587d4 /scripts/gdb/linux/timerlist.py | |
| parent | 629132b3d523bef7b32657e17c0edc1cdaae7e0a (diff) | |
staging: rtl8188eu: use safe iterator in rtl8188eu_xmitframe_complete()
This loop calls rtw_free_xmitframe(pxmitpriv, pxmitframe) which removes
"pxmitframe" (our list iterator) from the list. So to prevent a forever
loop we need to use a safe list iterator.
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/YL5i8W7BNla2DlrW@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
