linux-stable/drivers/scsi/fcoe
Hannes Reinecke 7eccdf005b scsi: fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTER
When a NETDEV_UNREGISTER notification is received the network device is
_deleted_ after the callback returns.  So we cannot use a workqueue
here, as this would cause an inversion when removing the device as the
netdev is already gone.  This manifests with a nasty warning during
shutdown:

sysfs group ffffffff81eff0e0 not found for kobject 'fc_host7'

So open-code fcoe_destroy_work() when receiving the notification to
avoid this inversion.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-09-15 15:44:49 -04:00
..
fcoe.c scsi: fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTER 2017-09-15 15:44:49 -04:00
fcoe.h fcoe: Use default VLAN for FIP VLAN discovery 2016-07-27 00:32:08 -04:00
fcoe_ctlr.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
fcoe_sysfs.c scsi: make device_type const 2017-08-25 17:29:29 -04:00
fcoe_transport.c scsi: fcoe: fix off by one in eth2fc_speed() 2016-09-26 20:54:45 -04:00
libfcoe.h
Makefile