When FCoE is started on the physical interface fipvlan will
shutdown the interface upon exit.

References: bnc#814151

Signed-off-by: Hannes Reinecke <[email protected]>
---
 fipvlan.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fipvlan.c b/fipvlan.c
index a865481..3c91930 100644
--- a/fipvlan.c
+++ b/fipvlan.c
@@ -910,6 +910,8 @@ static void cleanup_interfaces(void)
                        if (iff->linkup_sent) {
                                if (config.link_up && iff->resp_recv)
                                        continue;
+                               if (iff->fcoe_started)
+                                       continue;
                                if (TAILQ_EMPTY(&iff->vlans)) {
                                        FIP_LOG_DBG("shutdown if %d",
                                                    iff->ifindex);
@@ -928,6 +930,8 @@ static void cleanup_interfaces(void)
                        if (iff->linkup_sent) {
                                if (config.link_up && iff->resp_recv)
                                        continue;
+                               if (iff->fcoe_started)
+                                       continue;
                                if (TAILQ_EMPTY(&iff->vlans)) {
                                        FIP_LOG_DBG("shutdown if %d",
                                                    iff->ifindex);
-- 
1.8.1.4

_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to