summaryrefslogtreecommitdiff
path: root/drivers/scsi/dc395x.c
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2011-04-01 16:06:45 -0700
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 10:20:59 -0500
commitf04ca1b65480df9ecbaaa797e62b063387429410 (patch)
tree31f3c58011bf0447c0a93698d3e7bba4a746c48d /drivers/scsi/dc395x.c
parentf2817ec2e0faece03959888050730ed35e5f2bd2 (diff)
[SCSI] fcoe: have fcoe log off and lport destroy before ndo_fcoe_disable
Currently fcoe interface cleanup is done after ndo_fcoe_disable and that prevents logoff going out to the peer, so this patch moves all netdev cleanup and its releasing inside fcoe_interface_cleanup to have log off before ndo_fcoe_disable disables the fcoe. This patch also fixes asymmetric rtnl locking around fcoe_if_destroy, as currently this function requires rtnl held by its caller and then have this func drops the lock, instead now don't have any processing under rtnl inside fcoe_if_destroy, this required moving few func to get build working again. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions