Hello:

A possibility of a dangling lock and eventually a deadlock can occur
in function [fnic_handle_fip_timer] on [v4.3-rc1].

Github Link: 
https://github.com/torvalds/linux/blob/v4.3-rc1/drivers/scsi/fnic/fnic_fcs.c#L1267

The lock acquired at line 1284  will not be unlocked upon function's
exit if (vlan->state) value is (FIP_VLAN_AVAIL) when entering the
switch statement at line 1298.

A possible fix is to add a default case to the switch block or add a
special case to handle the case where vlan->state) value is
(FIP_VLAN_AVAIL).


Thanks
~Ahmed Tamrawi
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to