mbox series

[00/11] Fix deadlocks caused by del_timer_sync()

Message ID cover.1649310812.git.duoming@zju.edu.cn (mailing list archive)
Headers show
Series Fix deadlocks caused by del_timer_sync() | expand

Message

Duoming Zhou April 7, 2022, 6:33 a.m. UTC
If the timer handlers need a lock owned by the thread calling 
del_timer_sync(), then, the caller thread will block forever.

Duoming Zhou (11):
  drivers: tty: serial: Fix deadlock in sa1100_set_termios()
  drivers: usb: host: Fix deadlock in oxu_bus_suspend()
  drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()
  drivers: staging: rtl8723bs: Fix deadlock in
    rtw_surveydone_event_callback()
  drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()
  drivers: staging: rtl8192e: Fix deadlock in
    rtw_joinbss_event_prehandle()
  drivers: net: hippi: Fix deadlock in rr_close()
  drivers: net: can: Fix deadlock in grcan_close()
  drivers: infiniband: hw: Fix deadlock in irdma_cleanup_cm_core()
  arch: xtensa: platforms: Fix deadlock in iss_net_close()
  arch: xtensa: platforms: Fix deadlock in rs_close()

 arch/xtensa/platforms/iss/console.c                    | 4 +++-
 arch/xtensa/platforms/iss/network.c                    | 2 ++
 drivers/infiniband/hw/irdma/cm.c                       | 5 ++++-
 drivers/net/can/grcan.c                                | 2 ++
 drivers/net/hippi/rrunner.c                            | 2 ++
 drivers/staging/rtl8192e/rtllib_softmac.c              | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c              | 4 ++++
 drivers/tty/serial/sa1100.c                            | 2 ++
 drivers/usb/host/oxu210hp-hcd.c                        | 2 ++
 10 files changed, 23 insertions(+), 4 deletions(-)