lkml.org 
[lkml]   [2017]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[BUG] scsi/fcoe: Sleep-in-atomic bugs in fcoe driver
Date
According to fcoe_ctlr.c, the driver may sleep under a RCU lock,
and the function call paths are:
fcoe_ctlr_disc_stop_locked (acquire the RCU lock)
fc_rport_logoff
mutex_lock --> may sleep

fcoe_ctlr_vn_disc
fc_rport_login
mutex_lock --> may sleep

fcoe_ctlr_vn_age
fc_rport_logoff
mutex_lock --> may sleep

These bugs are found by my static analysis tool and my code review.

Thanks,
Jia-Ju Bai

\
 
 \ /
  Last update: 2017-10-03 05:04    [W:0.029 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site