57ffee7555
- Refresh patches with upstream version - Require open-lldp rpm (bnc#864387) OBS-URL: https://build.opensuse.org/request/show/225721 OBS-URL: https://build.opensuse.org/package/show/network:fcoe/fcoe-utils?expand=0&rev=12
35 lines
1005 B
Diff
35 lines
1005 B
Diff
From 3ded1660f3e2eb79e4dd8155996b0802b6ee664b Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Tue, 19 Nov 2013 20:26:07 +0000
|
|
Subject: fipvlan: Re-send VLAN discovery
|
|
|
|
Some switches might decide to discard the VLAN discovery request,
|
|
so we should rather re-send it whenever we need to retry.
|
|
At worst we will be receiving several responses, but they'll be
|
|
discarded.
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
Signed-off-by: Robert Love <robert.w.love@intel.com>
|
|
---
|
|
fipvlan.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/fipvlan.c b/fipvlan.c
|
|
index e7a0016..9ef4025 100644
|
|
--- a/fipvlan.c
|
|
+++ b/fipvlan.c
|
|
@@ -865,7 +865,9 @@ retry:
|
|
}
|
|
/* if we did not receive a response, retry */
|
|
if (iff->req_sent && !iff->resp_recv) {
|
|
- FIP_LOG_DBG("VLAN discovery RETRY [%d]", retry_count);
|
|
+ FIP_LOG_DBG("if %d: VLAN discovery RETRY [%d]",
|
|
+ iff->ifindex, retry_count);
|
|
+ iff->req_sent = false;
|
|
retry_iff++;
|
|
continue;
|
|
}
|
|
--
|
|
1.8.1.4
|
|
|