diff options
author | Vasu Dev <vasu.dev@intel.com> | 2011-04-01 19:06:45 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 11:20:59 -0400 |
commit | f04ca1b65480df9ecbaaa797e62b063387429410 (patch) | |
tree | 31f3c58011bf0447c0a93698d3e7bba4a746c48d /drivers/scsi/mesh.c | |
parent | f2817ec2e0faece03959888050730ed35e5f2bd2 (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/mesh.c')
0 files changed, 0 insertions, 0 deletions